Skip to content

db0WIP/NextTripTicket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NextTripTicket

WORK IN PROGRESS

A new adventure start for travel lovers!

Tree

ws: The web service

  • 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.

site: The website

  • 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

  • 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.

Install, launch, test

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:

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/License

 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.

Author

Up to date

Latest version of this project is on GitHub:

About

[WIP] A new adventure start for travel lovers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published