- Make uploading users more fault tolerant
- Add a descrition of file content/requirements
- More translations
- Dont rerender the full chat page on channel change
See the docker installation docs
Create a docker-compose.yml
file with the following content:
version: '2.0'
services:
redis:
image: redis
container_name: redis
postgres:
image: postgres
container_name: postgres
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
web:
image: impactsuite/impact-suite
ports:
- "8000:8000"
depends_on:
- redis
- postgres
Run docker-compose up
To uupdate the image, run docker pull impactsuite/impact-suite
- OSX/Linux
export IMPACT_SECRET_KEY=secret_key
- Windows
set IMPACT_SECRET_KEY=secret_key
- OSX - with brew
brew install redis
brew services start redis
- Linux
sudo apt update
sudo apt install redis-server
sudo systemctl restart redis.service
- I didn't test this
- Other
- Get a redis server running at localhost 6379,
- If you what you're doing change
CHANNEL_LAYERS
entry insettings.py
- SQLite3
- Change to
DATABASES
entry insettings.py
to:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3' } }
- Note: SQLite3 probably shouldn't be used in production (but that depends on you)
- Change to
- PostgreSQL
- Change to
DATABASES
entry insettings.py
to:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'dbname', 'USER': 'dbuser', 'PASSWORD': 'dbpassword', 'HOST': 'localhost', 'PORT': '5432', } }
- OSX - with brew
- Install:
brew install postgresql
brew services start postgresql
- List available databases:
psql -l
- Create a database:
psql
username=# CREATE DATABASE dbname
- Change to
python3 manage.py makemessages -l fr -l en -i "env/*"
(Optional)python3 manage.py compilemessages
cd ui-components
npm i
npm run build-web
ORnpm run watch-web
OR- Download the latest build from github actions
- Unzip
- Put the dist folder in a folder called static at the top level of your project
python3 manage.py collectstatic
python3 manage.py createsuperuser
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver 0.0.0.0:8000