Skip to content

gu-gridh/queerlit-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Queerlit

Repository for Queerlit CMS part.

Local Installation

Create a conda environment based on the environment file and activate it.

$ conda env update --file environment.yml
$ conda activate queerlit

Create a .env file with contents similar to this:

SECRET_KEY="<your-secret-key>"
DB_NAME="queerlit"
DB_USER="<user>"
DB_PASS="<password>"
DB_LOCAL_PASS="<local-password>"
LOCAL_HOST="localhost"
HOST="<gridh07>"
PORT="<postgres-port>"
DJANGO_ALLOWED_HOSTS="<allowed-hosts>"
MEDIA_ROOT="<media-root"
MEDIA_URL="<media-url>"
STATIC_ROOT="<static-root>"
STATIC_URL="<static-url>"
ORIGINS="<trusted-origins>"

Set up a local postgres database. Populate it by running migrations and create a superuser for it.

$ cd queerlit
$ ./manage.py migrate
$ ./manage.py createsuperuser

Run the test server and go to localhost:8000

$ ./manage.py runserver

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published