A new adventure start for travel lovers!
- Documentation: http://goo.gl/5lbSK
- The web service is in the
ws
folder. - The API of the web service is documented in the documentation linked above.
- The database is handled using MySQL.
- The source code of the web service is in PHP, using PDO for sql queries.
- The website is in the
site
folter. - The full documentation of the website is linked above.
- On server-side, the website use PHP to deliver pages.
- On client-side, the website use Javascript, JQuery and JSONP to get information from the database.
- The design of the website is made using LESS, then compiled in CSS.
misc/images
contains logos and images of the project.misc/scripts
contains useful scripts to fill the database or help you install the project on your own computer.
On your server, you will need to install:
Get the project sources from this repository:
wget https://github.com/db0company/NextTripTicket/archive/master.zip
unzip master.zip
rm master.zip
cd NextTripTicket-master/
Install some external dependencies:
- JQuery
- Bootstrap (with js and responsive)
- LESS CSS (for production website only)
- JQuery-JSONP (https://github.com/jaubourg/jquery-jsonp)
- JQuery-UI
wget http://twitter.github.com/bootstrap/assets/bootstrap.zip
unzip bootstrap.zip
rm bootstrap.zip
wget http://code.jquery.com/jquery-latest.min.js
m1;3201;0cv jquery-latest.min.js js/jquery.js
wget https://raw.github.com/jaubourg/jquery-jsonp/master/src/jquery.jsonp.js
mv jquery.jsonp.js js/
wget http://jqueryui.com/resources/download/jquery-ui-1.10.2.zip
unzip jquery-ui-1.10.2.zip
rm jquery-ui-1.10.2.zip
mv jquery-ui-1.10.2/ui/minified/jquery-ui.min.js js/
rm -r jquery-ui-1.10.2
Edit the configuration file conf.php
with your settings.
$EDITOR conf.php
Open the website and the web service in your browser!
If something goes wrong during your installation or if you note any unexpected behavior, please open a new issue on Github.
Copyright 2013 Barbara Lepage
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Made by db0
- Website: http://db0.fr/
- Contact: [email protected]
Latest version of this project is on GitHub: