Project Management System
-
Checkout the source code.
mkdir -p ~/code && cd $_ git clone git@github.com:issa16/cogs3.git
-
Create an env file.
cd cogs3 mv cogs3/.template_env cogs3/.env -
Build and run.
docker-compose up -d
Note: If docker-compose hangs when creating the cogs3_web_1 container, you may need to add the cogs3 directory to the list of file sharing resources.
-
Obtain an SSH connection to the cogs3_web_1 container.
docker ps docker exec -it <id_of_cogs3_web_1_container> bash
-
Run the database migrations.
python3 manage.py migrate
-
Load data fixtures into the database.
./load_fixtures
-
Create an admin user.
python3 manage.py createsuperuser
-
Run the unit tests.
python3 manage.py test -v 3 -
Generate coverage report.
coverage run manage.py test coverage html -
Enter
http://localhost:5000/in a browser to see the application running.