##// END OF EJS Templates
Update settings for postgres container and prerun.py file
Update settings for postgres container and prerun.py file

File last commit:

r376:cd7f82cbe0ca
r376:cd7f82cbe0ca
Show More
README.md
48 lines | 1.5 KiB | text/x-minidsrc | MarkdownLexer
README update
r356 # Integrated Weather Radar System (SIRM)
SIR with docker-compose working
r299
README superscript fix
r363 The Integrated Weather Radar System (SIRM) is a web application which allows the configuration of SOPHy¹ radar devices as required by the experiment. This app allows the creation of Experiment and Device Configurations (Pedestal, Generator, USRP Rx and USRP Tx).
README update
r361
For more information visit: https://doi.org/10.5281/zenodo.5571130.
README superscript fix
r363 ¹Scanning-system for Observation of Peruvian Hydrometeorological-events
SIR with docker-compose working
r299
## Installation
We recommend use docker/docker-compose for test/production but you can install the aplication as a normal django app.
### 1. Download
README update
r361 Download the application *radarsys_met* to your workspace
SIR with docker-compose working
r299
$ cd /path/to/your/workspace
new structure and views.py (pedestal) update
r366 $ git clone http://intranet.igp.gob.pe:8082/radarsys_met
SIR with docker-compose working
r299
new structure and views.py (pedestal) update
r366 ### 2. Config <code>.env</code> file
SIR with docker-compose working
r299
new structure and views.py (pedestal) update
r366 Update enviroment vars (/path/to/radarsys_met/.env)
Update settings for postgres container and prerun.py file
r376
new structure and views.py (pedestal) update
r366 #General settings
Update settings for postgres container and prerun.py file
r376 SIRM_SITE=<SIRM SITE>
SIRM_PORT=<SIRM PORT>
SIRM_MAX_UPLOAD_SIZE_MB=20
SIR with docker-compose working
r299
new structure and views.py (pedestal) update
r366 #Postgres settings
DB_NAME=radarsys
DB_USER=docker
DB_PASSWORD=****
SIR with docker-compose working
r299
new structure and views.py (pedestal) update
r366 #Volumes - path
README, forms.py (pedestal_dev) and docker-compose.yml update
r367 EXPOSE_PGDATA=/path/to/pg_data
EXPOSE_CERTS=/path/to/certs
EXPOSE_DHPARAM=/path/to/dhparam
SIR with docker-compose working
r299
new structure and views.py (pedestal) update
r366 #Superuser settings
SIRM_USER=admin123
SIRM_PASSWORD=admin123
SIRM_EMAIL=admin123@igp.gob.pe
README update
r361
README, forms.py (pedestal_dev) and docker-compose.yml update
r367 ### 3. Create the folders declared in the variables <code>EXPOSE_PGDATA</code>, <code>EXPOSE_CERTS</code> and <code>EXPOSE_DHPARAM</code> in the <code>.env</code> file.
SIR with docker-compose working
r299
new structure and views.py (pedestal) update
r366 ### 4. Build and run containers
You should maybe run the command using <code>sudo</code>
$ docker-compose up -d --build