##// END OF EJS Templates
README fix
amorales -
r362:1578c7297ecf
parent child
Show More
@@ -1,46 +1,46
1 1 # Integrated Weather Radar System (SIRM)
2 2
3 The Integrated Weather Radar System (SIRM) is a web application which allows the configuration of SOPHy<sup>1</sup> radar devices as required by the experiment. This app allows the creation of Experiment and Device Configurations (Pedestal, Generator, USRP Rx and USRP Tx).
3 The Integrated Weather Radar System (SIRM) is a web application which allows the configuration of SOPHy^1^ radar devices as required by the experiment. This app allows the creation of Experiment and Device Configurations (Pedestal, Generator, USRP Rx and USRP Tx).
4 4
5 5 For more information visit: https://doi.org/10.5281/zenodo.5571130.
6 6
7 <sup>(1)</sup> Scanning-system for Observation of Peruvian Hydrometeorological-events
7 ^1^Scanning-system for Observation of Peruvian Hydrometeorological-events
8 8
9 9 ## Installation
10 10
11 11 We recommend use docker/docker-compose for test/production but you can install the aplication as a normal django app.
12 12
13 13 ### 1. Download
14 14
15 15 Download the application *radarsys_met* to your workspace
16 16
17 17 $ cd /path/to/your/workspace
18 18 $ git clone http://intranet.igp.gob.pe:8082/radarsys_met && cd radarsys_met
19 19
20 20 ### 2. Config app
21 21
22 22 Update enviroment vars (/path/to/radarsys/.env)
23 23
24 24 REDIS_HOST=radarsys-redis
25 25 REDIS_PORT=6300
26 26 POSTGRES_DB_NAME=radarsys
27 27 POSTGRES_PORT_5432_TCP_ADDR=radarsys-postgres
28 28 POSTGRES_PORT_5432_TCP_PORT=5400
29 29 POSTGRES_USER=docker
30 30 POSTGRES_PASSWORD=****
31 31 PGDATA=/var/lib/postgresql/data
32 32 LC_ALL=C.UTF-8
33 33
34 34 ### 3. Build application & make migrations (only once at installation)
35 35
36 36 You should maybe run the commands using <code>sudo</code>
37 37
38 38 $ cd /path/to/radarsys_met
39 39 $ docker-compose build
40 40 $ docker-compose run web python manage.py makemigrations
41 41 $ docker-compose run web python manage.py migrate
42 42 $ docker-compose run web python manage.py collectstatic
43 43
44 44 ### 4. Run containers
45 45
46 46 $ docker-compose up -d
General Comments 0
You need to be logged in to leave comments. Login now