- Go to directory
archaeologyMain. - Create
.env
SECRET_KEY = "YourSpeacialKey"- Setup the virtualenv!
pip install virtualenv- Go to directory
archaeologyMain
virtualenv animated-octo-winner- Run the virtualenv
source bin/activate- Now your are in virtualenv 🚀
- If you want the deactivate virtualenv
deactivate- You must the be directory
archaeologyMain
docker-compose build- Migration from Docker
docker-compose run django-archaeology python manage.py migrate- Create Super User
docker-compose run django-archaeology python manage.py createsuperuser- Run the Docker
docker-compose up- Now you can go to 127.0.0.1:8000 to see it live. 🚀
- Admin panel 127.0.0.1:8000/admin
- You can create what u want!
- All applications are inside the
Appsfolder. - You can access application files in the
templatesfolder accordingly. - The
staticfolder was completely collectstatic. - Add the
tavsanli-41bb0a89bf6a.jsonfile from the discord.
