If you want to have a copy of the code, you can :
- Clone this repo :
git clone [email protected]:OthmanLoutfi/OWL-project.git
In your computer :
- In the shell, go into the repository using
cd PATH_TO_REPO
- Install all the necessary packages by running in the shell
pip install -r requirements.txt
- Then enter the app folder by typing
cd flask_app
- Make some set-up to prepare the app
- On Linux, Mac
$ export FLASK_APP = app $ export FLASK_ENV = development
- On windows
> set FLASK_APP = app > set FLASK_ENV = development
- Run the server by typing
flask run
- Open a web browser like Chrome and go to this URL : http://localhost:5000/
Once the web page is loaded, you can navigate through all the pages
- Welcome page : You can access to three maps, one with all the stations in France, one with all the Hotels and the last one with all the sations and hotels.
- Make A Trip : You can decide to make a Trip and visualize it in a Map, you just have to choose a station of departure and a stations of arrival
- History of all Trips : You can access to a history of all the trips and visualize them in a map
- Traveler : You can access to the history of trips from one traveler in particular.