A full-stack website template for management of VATUSA ARTCCs.
Written in Python 3.8 using the Django web framework.
By Michael Romashov, Houston ARTCC Webmaster
Update pip to the latest version.
python -m pip install --upgrade pip
Clone the repository to a local directory and cd into it.
git clone https://github.com/MikeRomaa/zhuartcc.git
Inside the directory, create a virtual environment (venv) and activate it.
python -m venv venv
source venv/bin/activate
(Linux)venv\Scripts\activate
(Windows)You should now see (venv)
next to your cursor, indicating that you are now running python from the venv.
(venv) user@host:~/zhuartcc.org$
Install the required dependencies for the project.
pip install -r requirements.txt
Create logs
directory for log file storage.
mkdir logs
Make a copy of .env.example
and name it .env
.
cp .env.example .env
Edit .env
to fill in environment variables.
True
if used in development, False
if used in production.zhuartcc.org
). Used to generate hostnames.k
value in your facility's ULS JWK."['IAH', 'MSY', 'HOU']"
)"['ZJX', 'PCF', 'ZFW']"
)
"[]"
if your facility does not utilize MAVPs.Perform Django migration, which creates the database and its tables.
python manage.py makemigrations administration api event feedback pilots resource training user visit
python manage.py migrate
Pull your facility's home roster from VATUSA's API.
python manage.py pull_roster