it's a simple website that contains a forum, blog and a contact page
Run that command to install the dependencies : (it'is recommended to install it in a virtualenv)
pip install -r requirements.txt
The project uses postgresql as a database so you can switch to the default sqlite3 database by replacing DATABASES dictionary in gxforum/settings.py with :
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
after that you can create the database by :
python manage.py makemigrations
python manage.py migrate
For simplicity purpose i did delete some password validators but it's heighly recommended to keep the default validators, for that head to the settings file "gxforum/settings.py" and change AUTH_PASSWORD_VALIDATORS into :
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
finally you can start the developement server :
python manage.py runserver