A web dashboard for the Czech Pirate Party, merging all of its systems' notifications and actions into a single highly customizeable dashboard.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Tomáš Valenta a3ba82da41 czechify login 8 months ago
global move to default ordering 8 months ago
information information title setting 8 months ago
local information & local service priority 8 months ago
nastenka finished specific information sections 8 months ago
requirements finished specific information sections 8 months ago
shared czechify login 8 months ago
static_src information title setting 8 months ago
working-files static npm files 9 months ago
.gitignore cleaned up built files 8 months ago
LICENSE add base 11 months ago
Makefile finished SSO client role sync, working on authorization 9 months ago
README.md improve readme - load virtualenv when running custom server starting command 9 months ago
env.example smaller font when longer shorthand, markdownfield 9 months ago
manage.py django base, new structure 10 months ago
package.json hover backgrounds, style improvements 9 months ago
requirements.txt smaller font when longer shorthand, markdownfield 9 months ago
tailwind.config.js finished specific information sections 8 months ago
webpack.config.js separate information sections 8 months ago

README.md

Nástěnka

A web dashboard for the Czech Pirate Party, merging all of its systems' notifications and actions into a single highly customizeable dashboard.

Basic requirements

  • make
  • python, 3.9 or newer
  • python-virtualenv
  • A PostgreSQL server

Setup

Copy env.example to .env.

Set the DATABASE_URL environment variable in .env to one you can access your database server with. The format should be as per RFC 1738, such as postgresql://login:password@localhost:5432/database_name. It's also important to change the SECRET_KEY variable.

Then, run the following commands:

make venv     # Create virtual environment
make install  # Install Python and Node.js dependencies
make build    # Build static files

Running

To run with the default settings on the port set in Makefile, run:

make run

For more customization, it's better practice to run the server starting command directly:

source .venv/bin/activate   # Load the virtual environment
python manage.py runserver  # [ Your settings here ]