Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

etoya

Python version

This project was created with Python 3.7

Virtual environment

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.

Django

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.

Testing

Run ./manage.py test to run all unit tests.

URLs

  • / -- root, implemented in posts/views.py
  • admin - admin panel, used to modify site content. On a fresh database, also run python manage.py createsuperuser if you want to access admin panel.

Project structure

  • 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

Deployment checklist

  • Go through etoya/settings.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages