Alba3k / django_site

site portfolio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django site

Setup

In a python virtual environment, run:

  • pip install -r requirements.txt
  • python manage.py migrate blog
  • python manage.py createsuperuser (to create user that you'll use to log in)

Run the application

python manage.py runserver

Now, you are good to go. Сайт готов.

Test

python manage.py test

Docker

NB: The app instance will run off the a preset admin user as set in init.sh.

To spin up the application using docker, ensure that Docker is installed. Then run:

docker-compose up

Or in detached mode:

docker-compose up -d

The application will be live at 0.0.0.0:8000

About

site portfolio

License:MIT License


Languages

Language:CSS 40.5%Language:SCSS 37.3%Language:JavaScript 11.5%Language:HTML 6.4%Language:Python 4.1%Language:Dockerfile 0.1%