Skip to content

Commit e7816e2

Browse files
committed
Add docker installation notes
1 parent a4cc897 commit e7816e2

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docker/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,43 @@
11
# How to use docker to spin up WebSiteOne
22

3+
## Prerequisites
4+
5+
In order to run this container you'll need docker installation
6+
* [Windows](https://docs.docker.com/docker-for-windows/)
7+
* [OS X](https://docs.docker.com/docker-for-mac/)
8+
* [Linux](https://docs.docker.com/linux/started/)
9+
10+
## Setup your environment variables
11+
12+
Create a .env file at the root of your directory.
13+
14+
```
15+
touch .env
16+
```
17+
18+
* 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.
19+
* Add the following to that file:
20+
21+
```
22+
RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
23+
RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
24+
AIRBRAKE_API_KEY=blahblahblah
25+
AIRBRAKE_PROJECT_ID=123
26+
SECRET_KEY_BASE=blabla
27+
RACK_TIMEOUT_SERVICE_TIMEOUT=200000000
28+
```
29+
30+
the above are test keys from https://developers.google.com/recaptcha/docs/faq
31+
332
## Setup docker
433

534
Execute this setup just for the first time, or when you want to recreate everything from scratch.
635

736
**BE AWARE IT WILL DELETE ALL YOUR DATA, including the Postgres Database.**
837

38+
39+
40+
941
```
1042
$ ./docker/setup.sh
1143
```

0 commit comments

Comments
 (0)