Create Python3 virtualenv, activate, and install requirements.txt
.
virtualenv env -p python3.6
. env/bin/activate
pip install -r requirements.txt
pip install -r requirements.docs.txt # for local debugging
Python setup, for mac and linux no additional actions
Install Postgres version 12 and postgresql-server-dev-12:
sudo apt-get install postgresql-12 postgresql-server-dev-12
Create user and database for Postgres
sudo su - postgres
createuser bounca
createdb --owner=bounca bounca --encoding=UTF8 --template=template0
psql -c 'alter user bounca with createdb' postgres # this is needed for automated tests
Optionally, set a password for the bounca
user.
Create Python 3.7 virtualenv, activate, and install requirements.txt
virtualenv env -p python3.7 && . env/bin/activate && pip install -r requirements.txt
Extra requirements:
openssl
Protect your data, Protect your communication, Protect your Business, get it BounCA!