Skip to content

Commit

Permalink
Setup local environment (#27)
Browse files Browse the repository at this point in the history
* Move setup-infra to separate step

* Separate footnotes from the main content
  • Loading branch information
Toreno96 authored Jul 20, 2020
1 parent a3c9485 commit 317441e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ setup-infra:
setup-docker:
docker volume create --name=$(PROJECT_NAME)-web-backend-db-data

setup: install setup-infra setup-docker
setup: install setup-docker

create-env:
cd scripts/setup && plop createEnv
Expand Down
10 changes: 9 additions & 1 deletion docs/setup-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,19 @@ my-app

### Run setup
You will be asked about resources created during [Initial setup](#initial-setup), but you can input some dummy values
first and later change them in `.awsboilerplate.json` configuration file.
first and later change them [^1] in `.awsboilerplate.json` configuration file.

```shell script
sh ./setup.sh
```

This script will install all possible package dependencies.

#### Run CDK bootstrap [^1]

```shell script
make setup-infra
```

---
[^1]: Can be omitted during setup of local environment.

0 comments on commit 317441e

Please sign in to comment.