Skip to content

Commit

Permalink
docs: update deployment + misc
Browse files Browse the repository at this point in the history
  • Loading branch information
znarf committed May 21, 2019
1 parent 8c8ecea commit cde88eb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016-2018 Open Collective, Inc.
Copyright (c) 2016-2019 Open Collective, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If you see a step below that could be improved (or is outdated), please update t

1. Make sure you have Node.js version >= 10. We recommend using version 10, the one used in CI and production.

- We recommend using [nvm](https://github.com/creationix/nvm): `nvm install && nvm use`.
- We recommend using [nvm](https://github.com/creationix/nvm): `nvm install`.

2. Make sure you have [GraphicsMagick](http://www.graphicsmagick.org) installed.

Expand Down Expand Up @@ -63,9 +63,19 @@ You can run the tests using `npm test`.

To deploy to staging or production, you need to be a core member of the Open Collective team.

We're currently relying on the following Heroku buildpacks:

- https://github.com/heroku/heroku-buildpack-apt
- https://github.com/bogini/heroku-buildpack-graphicsmagick
- heroku/nodejs

### Staging (heroku)

```
# Before first deployment, configure staging remote
git remote add staging https://git.heroku.com/oc-staging-image-server.git
# Then deploy master with
npm run deploy:staging
```

Expand All @@ -74,6 +84,10 @@ npm run deploy:staging
### Production (heroku)

```
# Before first deployment, configure production remote
git remote add production https://git.heroku.com/oc-prod-image-server.git
# Then deploy master with
npm run deploy:production
```

Expand Down

0 comments on commit cde88eb

Please sign in to comment.