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.
|
8 months ago | |
---|---|---|
global | 8 months ago | |
information | 8 months ago | |
local | 8 months ago | |
nastenka | 8 months ago | |
requirements | 8 months ago | |
shared | 8 months ago | |
static_src | 8 months ago | |
working-files | 9 months ago | |
.gitignore | 8 months ago | |
LICENSE | 11 months ago | |
Makefile | 9 months ago | |
README.md | 9 months ago | |
env.example | 9 months ago | |
manage.py | 10 months ago | |
package.json | 9 months ago | |
requirements.txt | 9 months ago | |
tailwind.config.js | 8 months ago | |
webpack.config.js | 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 newerpython-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 ]