Commit 548c57bf authored by Haas, Ingrid's avatar Haas, Ingrid

Merge branch 'master' of git.wur.nl:isric/leuven

parents c8716331 aed28049
......@@ -6,6 +6,24 @@ Generic instructions and documentation concerning the Leuven virtual tour
- [http://leuven.isric.org/](http://leuven.isric.org/)
- [https://ees.kuleuven.be/africa-in-profile/virtuele-tentoonstelling/index.html](https://ees.kuleuven.be/africa-in-profile/virtuele-tentoonstelling/index.html)
Running local server
--------------------
Local server (`server.py`) was rewritten to python3 (`3.8.4`), using the python3 `http.server` and `socketserver`, both packages are part of basic python3 distribution.
To run locally:
```
python server.py
```
The script binds to port `80`, it may require permissions to bind to a low port number. If so, change port number to `8080` or anything above `1024`, or sudo.
Local docker build
------------------
Script `run.sh` build and runs a local docker image.
Deployment
----------
......
......@@ -2,4 +2,4 @@
docker stop leuven
docker rm leuven
docker build -t leuven-python3 .
docker run --name leuven -d -p 8092:80 leuven-python3
\ No newline at end of file
docker run --name leuven -d -p 80:80 leuven-python3
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment