Commit graph

6 commits

Author SHA1 Message Date
TheAssassin
839d397223 Fix secret key generation 2017-07-09 15:48:09 +02:00
TheAssassin
1f9fcf7c66 Fix issue mentioned in osem/pull/1407
After the rebase (to update the PR with the latest changes), I had the
same issue @lguerard has had. I noticed that the rails server didn't
lisen on all interfaces any more, but bound the port to the loopback
device only. By adding the parameter `-b 0.0.0.0`, I restored the
previous behavior, and OSEM could be reached with the browser after it
started up (takes a few seconds).
2017-05-16 22:16:46 +02:00
TheAssassin
dd807e834c Use rails secret to generate the secret key 2017-05-16 21:53:47 +02:00
TheAssassin
303f5def5b Remove MySQL config file again as soon as possible 2017-05-16 21:53:47 +02:00
TheAssassin
343701794f Switch to built in rails server 2017-05-16 21:53:47 +02:00
TheAssassin
977769c255 Docker support for production use
This commit adds a Docker infrastructure that is ready for production
use. It is meant to simplify the deployment of OSEM for everyone who
wants to host their own instances.

It includes many features like data persistence, automatic secret key
generation and persistence and automatic database initialization and
upgrading. This should make updating the Docker container as easy as
possible.
2017-05-16 21:53:47 +02:00