Skip to content

Singlelogic/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

sysadmin

Sysadmin is а simple blog application made on Django.

Main menu of the blog

blog


Creating and editing a post

When creating and editing a post for the body of the post, the 'django-summernote' editor is used. https://github.com/summernote/django-summernote Снимок экрана 2020-06-13 в 20 23 39


Setup

  1. git clone https://github.com/Singlelogic/sysadmin.git
  2. cd ./sysadmin
  3. python3.8 -m venv ./venv
  4. source ./venv/bin/activate
  5. pip install -r requirements.txt
  6. Database The application uses the PostgreSQL database.
    Create the .env file in the application root using the SECRET_KEY environment variable (for example, SECRET_KEY = 'database_password'). Also set other settings for the database in the 'settings.py' file (NAME, USER...).
    Or replace with the default settings when using the SQLite database.
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}
  1. python manage.py migrate
  2. python manage.py runserver

About

test for readme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages