A all-in one docker container for testing the QOTO source code.
Find a file
Jeffrey Phillips Freeman c3981ac1c4 updated version.
2019-09-01 15:53:16 +02:00
docker-compose.yml updated version. 2019-09-01 15:53:16 +02:00
Dockerfile Added some configuration that makes post install a bit easier to work with. 2019-09-01 15:45:38 +02:00
entrypoint.sh Made it so ruby is installed when the container comes up so it can discover the version needed from the repo. 2019-09-01 14:17:23 +02:00
README.md Added details to readme. 2019-09-01 15:52:24 +02:00

Just run the following:

docker run -p 3000:3000 --volume="$PWD:/qoto" qotoorg/qoto-test:latest

This will determine what version of ruby the mastodon repo needs, install it into the container, then run bundle and yarn install, setup a database, setup redis and then run the server at http://localhost:3000

You can then run this within the container to generate an admin user:

source /usr/local/rvm/scripts/rvm && RAILS_ENV=production bin/tootctl accounts create dev --email dev@mastodon.local --confirmed --role admin