Skip to content

Commit

Permalink
docs: update DEVELOPING guide about SELinux
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebrand authored and tiborsimko committed Nov 28, 2023
1 parent 01c70ab commit b46997c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DEVELOPING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ Another possibility to develop the CERN Open Data instance locally is to use
the Podman container technology. This has an advantage that your containers
will be running in the regular user space, not requiring any superuser access.

If you are using Linux operating system with SELinux, and would like to use the
developer-oriented installation method with the live code-reload feature, then
please configure your SELinux to use either "permissive", "minimal" or
"disabled" policy. You can use the ``getsebool`` command to show your current
SELinux policy level.

An example of a Podman development session:

.. code-block:: console
Expand All @@ -61,6 +67,7 @@ An example of a Podman development session:
./scripts/populate-instance.sh --skip-docs --skip-glossary --skip-records
$ podman exec -i -t opendatacernch_web_1 \
cernopendata fixtures records --mode insert -f cernopendata/modules/fixtures/data/records/cms-primary-datasets.json
$ firefox http://0.0.0.0:5000/
$ podman-compose -f docker-compose-dev.yml down -v
Note that if you would like to test production-like conditions with Podman, you
Expand Down

0 comments on commit b46997c

Please # to comment.