Skip to content

Source code for the cms used by juso.ch

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
AGPL-3.0
COPYING
Notifications You must be signed in to change notification settings

juso-ch/juso-site

Repository files navigation

juso-site

CodeQL

Features

  • Multisite support
  • PWA ready
    • Push notifications
    • Offline mode
  • Duplicate page trees to new domain/language
  • Translatebale
  • Structured Data for blog posts and events
  • Form builder with support for mailtrain connection
  • Easy customisation with css variables
  • docker container
  • nginx with apache pagespeed

Docker

docker-compose build
docker-compose up

Deployment

Copy .env.dev to .env.prod and change the passwords.

Build images and run them

docker-compose -f docker-compose.prod.yml up --build -d

Run database migrations

docker-compose -f docker-compose.prod.yml exec web python manage.py migrate

Collect static files

docker-compose -f docker-compose.prod.yml exec web python manage.py collectstatic --no-input

On first run only, create a superuser and a default site.

docker-compose -f docker-compose.prod.yml exec web python manage.py createsuperuser
docker-compose -f docker-compose.prod.yml exec web python manage.py shell

Installation

virtualenv env --python=python3

pip install -r requirements.txt

cp local_settings.py.example juso/local_settings.py

python manage.py migrate

# Load a fixture with some example entries
python manage.py loaddata site

python manage.py runserver

Add dns entries for juso.local and example.juso.local that point to your localhost. Visit juso.local:8000, example.juso.local, visit juso.local:8000/admin/ to see the admin interface. Log in as superuser with admin:admin or as regular user with user:user.

Useful resources

About

Source code for the cms used by juso.ch

Topics

Resources

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
AGPL-3.0
COPYING

Stars

Watchers

Forks

Packages