Skip to content

irazzhivin/django-imageboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-imageboard

License: MIT

Image gallery site based on the Django Framework. Example deploy: https://django.mitrich.digital/

Getting Started

Run following commands to start project in your enviroment:

virtualenv venv -p python3
source venv/bin/activate

pip install requirements

python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Feutures

  1. User can create gallery and upload multiple images in one.
  2. User can update and delete single gallery images.
  3. Admin managment

TODO: create comments block under gallery

Live view

Example deploy: https://django.mitrich.digital/

Screenshots

example1 example2

To use in prod:

  1. Set a secret key for the development

Generate a secret key using the following command:

python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"

Set the generated secret key as an environment variable:

export SECRET_KEY='NEW_KEY_GENERATED_IN_STEP1'
  1. DEBUG is enabled by default. To disable it, set the environment variable.
  2. DISABLE_COLLECTSTATIC = 1

About

Forum engine which uses the Django Framework

Resources

License

Stars

Watchers

Forks