templates/README.md.erb in welaika-suspenders-2.33 vs templates/README.md.erb in welaika-suspenders-2.34
- old
+ new
@@ -2,14 +2,20 @@
## Getting Started
To install Ruby, read the [rbenv guide](https://github.com/rbenv/rbenv#installation)
-To install Postgres:
+To install Postgres 11:
- $ brew install postgresql@10
+ $ brew install postgresql@<%= Suspenders::POSTGRES_VERSION %>
+or
+
+ $ brew install postgresql
+
+if `postgresql@<%= Suspenders::POSTGRES_VERSION %>` does not exist yet.
+
To install Node:
$ brew install node
(or use [nvm](https://github.com/creationix/nvm) if you want).
@@ -42,14 +48,14 @@
### Database
https://elements.heroku.com/addons/heroku-postgresql
-Choose the PostgreSQL version you want to use (e.g. 10):
+Choose the PostgreSQL version you want to use:
- $ heroku addons:create heroku-postgresql:hobby-dev --version=10 --remote=staging
- $ heroku addons:create heroku-postgresql:hobby-dev --version=10 --remote=production
+ $ heroku addons:create heroku-postgresql:hobby-dev --version=<%= Suspenders::POSTGRES_VERSION %> --remote=staging
+ $ heroku addons:create heroku-postgresql:hobby-dev --version=<%= Suspenders::POSTGRES_VERSION %> --remote=production
Further reading:
https://devcenter.heroku.com/articles/heroku-postgres-plans
@@ -86,10 +92,10 @@
Since our `Dockerfile` is called `Dockerfile.gitlab`, the commands are slightly different:
```bash
-$ docker build -f Dockerfile.gitlab -t registry.gitlab.com/welaika/<%= app_name %> .
+$ docker build --no-cache -f Dockerfile.gitlab -t registry.gitlab.com/welaika/<%= app_name %> .
$ docker push registry.gitlab.com/welaika/<%= app_name %>
```
Eventually, you can lint Dockerfiles with [hadolint](https://github.com/hadolint/hadolint)