Project for Advance Database class at NTHU we create a dating app using a Graph DB.
If you want to clean your previous docker image
docker-compose rm
To build the image for django
docker-compose build
To run our project
docker-compose up
Import pictures
docker-compose run web ./manage.py flickr_import APITOKENS --max-import NBPICTURES
Set-up your superuser to have access to the admin
docker-compose run web python manage.py createsuperuser
Migrate is use to auto generate the model defined in models.py in the database
docker-compose run web python manage.py migrate
To create a new project
docker-compose run web django-admin.py startproject neveralone .
To create a new app
docker-compose run web python manage.py startapp app
Afeter generating a project or app you may need to change the ownership
sudo chown -R $USER:$USER .