README.md 644 Bytes
Newer Older
Mario Chirinos Colunga's avatar
Mario Chirinos Colunga committed
1 2 3
#Installation

```bash
Mario Chirinos Colunga's avatar
Mario Chirinos Colunga committed
4
sudo apt-get install git python3 python3-dev python3-pip psycopg2-binary  postgresql postgresql-contrib
Mario Chirinos Colunga's avatar
Mario Chirinos Colunga committed
5
python3 -m pip install --upgrade pip
Mario Chirinos Colunga's avatar
Mario Chirinos Colunga committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
sudo pip3 intsall django django-mathfilters psycopg2 django-static-jquery quantiphy numpy wordcloud stop_words
sudo su - postgres
psql
CREATE DATABASE m3db;
CREATE USER geoint WITH PASSWORD 'geoint';
ALTER ROLE geoint SET client_encoding TO 'utf8';
ALTER ROLE geoint SET default_transaction_isolation TO 'read committed';
ALTER ROLE geoint SET timezone TO 'UTC';
GRANT ALL PRIVILEGES ON DATABASE m3db TO geoint;
\q
exit


cd m3_webinterface/
python3 manage.py makemigrations
Mario Chirinos Colunga's avatar
Mario Chirinos Colunga committed
21 22

```