Setting up local testing instance of Girder
===========================================

Requirements:

 * docker >= 18.04
 * GitHub app OAuth credentials with callback set to `http://girder.vcap.me/api/v1/oauth/github/callback`.
   Export them using env variables:
   * GITHUB_CLIENT_ID
   * GITHUB_CLIENT_SECRET
 * default user (uid:1000, gid:100)
   ```
   [[ -z $(getent group 100) ]] && sudo groupadd -g 100 wtgroup
   [[ -z $(getent passwd 1000) ]] && sudo useradd -g 100 -u 1000 wtuser
   ```

Clone this repository:

```
git clone https://github.com/whole-tale/girder_deploy
```

Go to `wt_dev` directory and run:

```
cd girder_deploy/wt_dev
make dev
```

To shutdown

```
make clean
```

Setting up local testing instance of Girder
===========================================

Requirements:

 * docker 17.04.0+
 * [GitHub OAuth App](https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/) credentials with callback set to `http://girder.vcap.me/api/v1/oauth/github/callback`.
   Export them using env variables:
   * GITHUB_CLIENT_ID
   * GITHUB_CLIENT_SECRET
 * default user (uid:1000, gid:100)
   ```
   [[ -z $(getent group 100) ]] && sudo groupadd -g 100 wtgroup
   [[ -z $(getent passwd 1000) ]] && sudo useradd -g 100 -u 1000 wtuser
   ```

Clone this repository:

```
git clone https://github.com/whole-tale/girder_deploy
```

Go to `wt_dev` directory and run:

```
cd girder_deploy/wt_dev
make dev
```

To shutdown

```
make clean
```

Add link to GitHub OAuth app docs
Add link to GitHub OAuth app docs
