Skip to content

Sharipat/sensive-blog

 
 

Repository files navigation

Yuri Grigorievich's Blog

Blog about the commercial success of Yuri Grigorievich. He shares advice on business, life and raising children.

Screenshot

Launch

To run the site you will need Python version 3.

Download the code from GitHub. Install dependencies:

pip install -r requirements.txt

Create a SQLite Database

python3 manage.py migrate

Start the development server

python3 manage.py runserver

Environment variables

Some of the project settings are taken from environment variables. To define them, create a .env file next to manage.py and write the data there in the following format: VARIABLE=value.

There are 3 variables available:

  • DEBUG - debug mode. Set to True to see debugging information in case of an error.
  • SECRET_KEY — secret key of the project
  • DATABASE_FILEPATH - full path to the SQLite database file, for example: /home/user/schoolbase.sqlite3
  • ALLOWED_HOSTS - see Django documentation

Project goals

The code was written for educational purposes - for a course on Python and web development on the website Devman.

Specifically, the repository is used:

About

Personal blog website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 34.0%
  • HTML 20.9%
  • SCSS 18.5%
  • JavaScript 18.0%
  • Python 8.6%