The purpose of this project completed as an assignment for 3W subject was to design Django system for managing airlines data.
This projects requires bash shell (or at least some kind of emulation) and Python 3.
Note:
If you want to use real-time server status updates you must have Redis database installed
and available via redis-server command.
The airm performs auto-configuration and then run Django server at localhost:8000. To begin just type the following command into the bash shell:
./airm up
Please enter all deails if prompted by the airm.
Then wait for completion and navigate to localhost:8000
to see the system's main page.
Please note: in airm
file you must specify python executable you are using (if it's not default python or python3)
You can manually configure you virtual environment or use your global one: Execute the following command to install all requirements:
pip install -r requirements.txt
Generator script generate
supports the following commands:
-
init
Automatically create virtual environment for execution Also make and migrate with Django. Skip if it actually exists.
-
reset
Automatically create virtual environment for execution Override any previous one.
-
server (alias: dev)
Run Django devserver at localhost:8000 with redis (if installed) and background task runner.
-
up
Alias for executing setup and then server command
- Sortable, filterable tables with all useful data
- Ability to add and remove users from flights
- Data generator to provide dummy names for the system
- Real-time server notification via Django Channels