This website works better with JavaScript.
Explore
Help
Sign In
balkian
/
soil
mirror of
https://github.com/gsi-upm/soil
Watch
1
Star
0
Fork
You've already forked soil
0
Code
Issues
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bd4700567e
master
wip-1.0
mesa
dependabot/pip/docs/ipython-8.10.0
remove-history
exporters
visualization
history
TFG-David
test
models
0.13.7
0.13.4-fix5
0.10
0.10.1
0.11
0.11.3
0.12.0
0.13.0
0.13.1
0.13.3
0.13.4
0.13.4-fix1
0.13.4-fix2
0.13.4-fix3
0.13.4-fix4
0.13.4-fix6
0.13.6
0.14.0
0.14.4
0.14.6
0.14.7
0.14.8
0.14.9
0.15.1
0.15.2
0.20.0
0.20.1
0.20.2
0.20.2.post1
0.20.2.post2
0.20.2.post3
0.20.2.post4
0.20.3
0.20.4
0.20.5
0.20.6
0.20.7
0.20.8
0.30.0rc2
0.9.7
v1.0.0rc11
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'bd4700567e'
${ noResults }
soil
/
Dockerfile
6 lines
87 B
Docker
Raw
Normal View
History
Unescape
Escape
Compatibility with py3.4
7 years ago
FROM
python:3.4-onbuild
Make py3 compatibility explicit
7 years ago
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.
6 years ago
RUN
pip install
'.[web]'
Make py3 compatibility explicit
7 years ago
ENTRYPOINT
[
"python"
,
"-m"
,
"soil"
]