Skip to content

L1onLight/project-enigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Enigma

Django-based blog site

Installation

Create .env file in the root of the project where manage.py is located and set the following variables:

(Without DJANGO_DEBUG=True static files will not be loaded)

EMAIL_SYSTEM_EMAIL="your@email.com"
EMAIL_SYSTEM_PASSWORD="your_password"
SECRET_KEY="secret_key"
DJANGO_DEBUG=True

These variables are optional, but EMAIL_SYSTEM_EMAIL and EMAIL_SYSTEM_PASSWORD is required for password restore functionality. Email system would work only for GMail with created password for specific app.

Use Makefile commands, or if you want to run manually:

Copy .env.sample as .env:

cp .env.sample .env

Create python virtual environment:

python -m venv .venv

Activate python virtual environment:

source ./.venv/bin/activate

Install python requirements:

pip install -r requirements.txt

Migrate database

python manage.py migrate

And finally, run the server.

python manage.py runserver

Example images:

Main page

Sample Image

Create Post page

Sample Image

Post page

Sample Image

Login page

Sample Image

Mini profile

Sample Image

Profile page

Sample Image

About

Django-based blog website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors