Commit bc1bc585 authored by MERCIER Michael's avatar MERCIER Michael

[doc] Improve dev documentation

parent e6f09b37
......@@ -6,12 +6,43 @@ See the [install and run]( page to setup Nix with our
You can simply enter a shell that comes with all you need to build and
test Batsim with this command:
test Batsim with this command at the root of the repository:
cd batsim
If it does not work (for old batsim versions) you can do:
nix-shell /path/to/datamovepkgs -A batsim_dev
## Using Docker
Then you can configure build batsim with these commands:
rm -rf build
mkdir build
cd build
cmake .. $cmakeFlags
make -j $(nproc)
To run the test you need to start redis on the same shell:
redis-server &
Or in an other shell:
nix-shell -p redis --command redis-server
Finally run the tests without the remote test (that requires self SSH):
ctest --output-on-failure -E 'remote'
## Using Docker (**DEPRECATED**)
If you need to change the code of Batsim you can use the docker environment ``oarteam/batsim_ci``
and use the docker volumes to make your Batsim version of the code inside the container.
......@@ -56,7 +87,7 @@ Batsim dependencies are listed below:
- Redox (and its dependencies: hiredis and libev)
# Compile and Test
### Compile and Test
When you have setup your environment (see previous section), you can
go to the already cloned Batsim repository (or clone this repository)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment