This project was created with Python 3.7
This project uses pipenv. Run pipenv install and pipenv shell to install all dependencies and activate virtualenv related to this project, respectively.
All further instructions will assume that you've done that and dealth with all problems that arisen.
Run ./manage.py runserver to launch an internal Django web-server (don't use it in production). Please mind the console output: you may need to run ./manage.py migrade to run pending database migrations first. Then you'll be able to see the server running at localhost:8000.
Run ./manage.py test to run all unit tests.
- / -- root, implemented in
posts/views.py - admin - admin panel, used to modify site content. On a fresh database, also run
python manage.py createsuperuserif you want to access admin panel.
- manage.py -- default Django entry point
- Pipfile -- for pipenv
- Pipfile.lock -- for pipenv
- db.sqlite3 -- automatically created by Django for local testing, ignored by git
- .gitignore - git ignore file
- .idea -- Pycharm IDE folder
- etoya -- Django main project folder
- posts -- Django posts app folder
- Go through etoya/settings.py