Skip to content

Web Server for a travel agency, developed as a University project.

License

Notifications You must be signed in to change notification settings

MarcoAntolini/FlyAway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions for running the application

Clone the repository

$: git clone https://github.com/MarcoAntolini/Fly-Away
$: cd Fly-Away

Virtual environment modules installation

# Unix based systems
$: virtualenv venv
$: source venv/bin/activate

# Windows based systems
$: virtualenv venv
$: .\venv\Scripts\Activate.ps1

Install requirements

$: pip install -r requirements.txt

Set the FLASK_APP environment variable

(Unix/Mac)   $: export FLASK_APP=main.py
(Windows)    $: set FLASK_APP=main.py
(Powershell) $: $env:FLASK_APP = ".\main.py"

Set up the DEBUG environment

(Unix/Mac)   $: export FLASK_DEBUG=True
(Windows)    $: set FLASK_DEBUG=True
(Powershell) $: $env:FLASK_DEBUG = "True"

Run the application

$: flask run --host=0.0.0.0 --port=5000
  • --host=0.0.0.0 - expose the app on all network interfaces (default 127.0.0.1)

  • --port=5000 - specify the app port (default 5000)

Access the app in the browser at http://127.0.0.1:5000/ or http://localhost:5000/

About

Web Server for a travel agency, developed as a University project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published