This website requires JavaScript.
Explore
Help
Sign In
balkian
/
soil
Watch
1
Star
0
Fork
0
You've already forked soil
mirror of
https://github.com/gsi-upm/soil
synced
2024-12-22 08:18:13 +00:00
Code
Issues
Releases
Wiki
Activity
9165979b49
soil
/
Dockerfile
6 lines
87 B
Docker
Raw
Normal View
History
Unescape
Escape
Compatibility with py3.4
2017-10-09 12:44:21 +00:00
FROM
python:3.4-onbuild
Make py3 compatibility explicit
2017-10-09 09:38:04 +00:00
merge visualization branch The web server is included as a submodule. The dependencies for the web (tornado) are not installed by default, but they can be installed as an extra: ``` pip install soil[web] ``` Once installed, the soil web can be used like this: ``` soil-web OR python -m soil.web ``` There are other minor changes: * History re-connects to the sqlite database if it is used from a different thread. * Environment accepts additional parameters (so it can run simulations with `visualization_params` or any other in the future). * The simulator class is no longer necessary * Logging is done in the same thread, and the simulation is run in a separate one. This had to be done because it was creating some problems with tornado not being able to find the current thread during logs, which caused hundreds of repeated lines in the web "console". * The player is slightly modified in this version. I noticed that when the visualization was playing, if you clicked somewhere it would change for a second, and then go back to the previous place. The code for the playback seemed too complex, especially speed control, so I rewrote some parts. I might've introduced new bugs.
2018-12-07 17:28:19 +00:00
RUN
pip install
'.[web]'
Make py3 compatibility explicit
2017-10-09 09:38:04 +00:00
ENTRYPOINT
[
"python"
,
"-m"
,
"soil"
]
Reference in New Issue
Copy Permalink