Commit 29551a9f6b7f6921196db365f9b5dae3e4590737
1 parent
4cb4b813
Exists in
rhitier-dev
and in
1 other branch
Update prerequisites
Showing
1 changed file
with
12 additions
and
4 deletions
Show diff stats
README.md
@@ -34,6 +34,14 @@ https://gitlab.irap.omp.eu/CDPP/SPACEWEATHERONLINE | @@ -34,6 +34,14 @@ https://gitlab.irap.omp.eu/CDPP/SPACEWEATHERONLINE | ||
34 | 34 | ||
35 | ## Install | 35 | ## Install |
36 | 36 | ||
37 | +### Prerequisites | ||
38 | +gcc | ||
39 | +libncurses-dev | ||
40 | +python2 | ||
41 | +virtualenv | ||
42 | + | ||
43 | +### Python venv | ||
44 | + | ||
37 | ``` bash | 45 | ``` bash |
38 | virtualenv venv | 46 | virtualenv venv |
39 | source venv/bin/activate | 47 | source venv/bin/activate |
@@ -66,9 +74,9 @@ Configure Apache to use `web/run_ssa.wsgi` and use pip2.7 install system wide. | @@ -66,9 +74,9 @@ Configure Apache to use `web/run_ssa.wsgi` and use pip2.7 install system wide. | ||
66 | ### Install libcdf. | 74 | ### Install libcdf. |
67 | 75 | ||
68 | ``` bash | 76 | ``` bash |
69 | -wget https://spdf.sci.gsfc.nasa.gov/pub/software/cdf/dist/cdf37_0/linux/cdf37_0-dist-all.tar.gz | ||
70 | -tar -xzvf cdf37_0-dist-all.tar.gz | ||
71 | -cd cdf37_0-dist | 77 | +wget https://spdf.gsfc.nasa.gov/pub/software/cdf/dist/cdf38_1/cdf38_1-dist-all.tar.gz |
78 | +tar -xzvf cdf38_1-dist-all.tar.gz | ||
79 | +cd cdf38_1-dist | ||
72 | make all OS=linux ENV=gnu | 80 | make all OS=linux ENV=gnu |
73 | make INSTALLDIR=/usr/local/lib/libcdf install | 81 | make INSTALLDIR=/usr/local/lib/libcdf install |
74 | ``` | 82 | ``` |
@@ -97,4 +105,4 @@ Try with the `--no-cache-dir` option. | @@ -97,4 +105,4 @@ Try with the `--no-cache-dir` option. | ||
97 | ``` | 105 | ``` |
98 | sudo setfacl -R -m u:apache:rwx -m u:`whoami`:rwx cache | 106 | sudo setfacl -R -m u:apache:rwx -m u:`whoami`:rwx cache |
99 | sudo setfacl -dR -m u:apache:rwx -m u:`whoami`:rwx cache | 107 | sudo setfacl -dR -m u:apache:rwx -m u:`whoami`:rwx cache |
100 | -``` | ||
101 | \ No newline at end of file | 108 | \ No newline at end of file |
109 | +``` |