- python3.7
- python3.7-dev
- default-libmysqlclient-dev
- mariadb-server
$> pip3 install -r requirements.txt
MariaDB [(none)]> create database voldb character set 'utf8';
MariaDB [(none)]> CREATE USER voldb@localhost IDENTIFIED BY 'password';
MariaDB [(none)]> GRANT ALL PRIVILEGES ON voldb.* TO 'voldb'@'localhost';
You need to create the file here : /etc/mysql/conf.d/mysql.cnf
You need to create the file here /etc/my.cnf.d/client.cnf
[client]
database = voldb
host = localhost
user = voldb
password = password
default-character-set = utf8
To use the specific settings file, we need to define which will be used as an environment variable. Or add --settings=voldb.settings.<environment>
at the end of each command.
export DJANGO_SETTINGS_MODULE=voldb.settings.development
export DJANGO_SETTINGS_MODULE=voldb.settings.staging
export DJANGO_SETTINGS_MODULE=voldb.settings.production
$> python3.7 manage.py makemigrations vol
$> python3.7 manage.py migrate
$> python manager.py runserver 0.0.0.0:8000
$> python3 manage.py createsuperuser
- Forms
- Adding/deleting a flight
- List of all flights
- User management (views and templates)
- Login
- Logout
- Change of password
- Password Reset
- Homepage
- Adding/modifying/deleting assets
- See Issues