Small CPF blocklist manager
- Docker CE (lastest) installed
-
Installation
- Docker, see here
-
Used Docker images:
- Python, Node, PostgreSQL
-
- bootstrap4
- font-awesome
See README.md
at ./frontend
- Python3
- pipenv
and see requirements_docker.txt
and backend/requirements.txt
Run:
$ pipenv --three && pipenv shell
$ pipenv install -r requirements_docker.txt
if necessary:
$ pipenv install -r backend/requirements.txt
touch .env
at ./backend/cpfblocklist/
$ touch ./backend/cpfblocklist/.env
with proper content:
HIDE_DOCS=False
DEBUG=True
DATABASE_URL=pgsql://USER:[email protected]:5432/cpf-blocklist
SECRET_KEY=<YOUR_KEY>
or export
variables on terminal before running bash script.
Either run start_docker.sh
# start django dev server and angular frontend with docker
. ./bin/start_docker.sh
or run . ./bin/start_local.sh
Django backend should be up on http://localhost:8080