In order to run this container you'll need docker installation
Create a .env file at the root of your directory.
touch .env
- You'll have to get the
.env
file content from one of the admins: @tansaku or @diraulo. The project won't work without it. You can send them a direct message (DM) on Slack. The.env
file should go in the root of the WSO project. - Add the following to that file:
RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
AIRBRAKE_API_KEY=blahblahblah
AIRBRAKE_PROJECT_ID=123
SECRET_KEY_BASE=blabla
RACK_TIMEOUT_SERVICE_TIMEOUT=200000000
the above are test keys from https://developers.google.com/recaptcha/docs/faq
Execute this setup just for the first time, or when you want to recreate everything from scratch.
BE AWARE IT WILL DELETE ALL YOUR DATA, including the Postgres Database.
$ ./docker/setup.sh
Start the application
$ ./docker/start.sh
Stop the application
$ ./docker/stop.sh
ps: those docker commands were tested under the following environment:
- MacOS 10.13.6
- Docker version 18.06.0-ce, build 0ffa825
- docker-compose version 1.22.0, build f46880f
If it doesn't work for you, try to check your docker version and consider upgrading it if you have an older version.