Instructions
You can clone this repository
https://github.com/canada-ca/aia-eia.git
Add the folder to your VS Code workspace
In the ogc_aia
folder, rename the file:
sample_settings.py
to
settings.py
Confirm whether you have Anaconda properly installed:
conda info
If not, verify if you have Python installed:
python --version
Verify that Pip is installed:
pip --version
Install virtualenv
pip install virtualenv
Create your virtual environment:
conda create --name myenv
Activate your environment:
conda activate myenv
Install the required packages:
pip install -r requirements.txt
Test the surver:
python manage.py runserver
Shut down the surver with Ctrl+C
Migrate the database
python manage.py migrate
Create a superuser account
python manage.py createsuperuser
Run the surver:
python manage.py runserver
Access the Home page here: http://127.0.0.1:8000/