I'm using this issue to document my setup. Just running
docker run --name spex -p 80:80 corfr/spex
didn't work for me, e.g., the production environment requires a mysql host in place.
Docker Setup
The docker image is available as corfr/spex or from sources:
host:spex$ docker build -t spex .
Spex stores all downloaded content on disk, and maintains an index in a mysql database. First, set up the mysql server:
On first run, you'll need to manually populate the database:
host:~$ docker exec -ti spex bash
spex:~$ cd /home/app/webapp
spex:webapp$ bundle exec rake db:setup
# if the database cannot be manipulated, first disable the security checks and re-execute above command
spex:webapp$ export DISABLE_DATABASE_ENVIRONMENT_CHECK=1
The spex website is now available on http://localhost:3000
I'm using this issue to document my setup. Just running
docker run --name spex -p 80:80 corfr/spex
didn't work for me, e.g., theproduction
environment requires amysql
host in place.Docker Setup
The docker image is available as
corfr/spex
or from sources:Spex stores all downloaded content on disk, and maintains an index in a mysql database. First, set up the mysql server:
Connect to the mysql machine and create a database:
Now we can start spex and point it to the MySQL database.
On first run, you'll need to manually populate the database:
The spex website is now available on
http://localhost:3000