You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ We have evolved the app to now be centrally hosted so we can offer the product t
15
15
16
16
If you are interested in being part of this project, write us at [jointheteam@boxtribute.org](mailto:jointheteam@boxtribute.org)! You can also check out our [website](https://www.boxtribute.org/#join) for more details about the kind of help we need on this project.
@@ -205,17 +207,27 @@ All tests in `cypress/integrations` should be found and can be directly executed
205
207
We experienced before that tests can fail in CircleCI, but not in the local environment. The main reason for it is that Cypress is usually executing the commands slower in a local dev environment.
206
208
Therefore, a few additional guidelines when writing test:
207
209
208
-
- When you want to execute a redirect, e.g. example by clicking a button or tab, please add an assertion after the click, e.g. of the url `cy.url().should('include', 'people_deactivated')`. Due to this assertion cypress will definitely wait until the redirect is executed.
210
+
- When you want to execute a redirect, e.g. by clicking a button or tab, please add an assertion after the click, e.g. of the url `cy.url().should('include', 'people_deactivated')`. Due to this assertion cypress will definitely wait until the redirect is executed.
209
211
- Only if you use `cy.visit()` you can be sure that the cypress test wait until a page is fully loaded. Therefore, try to navigate as much as possible with `cy.visit()`.
210
212
213
+
## DevOps
214
+
215
+
### Release new version
216
+
217
+
1.`git checkout production`
218
+
1.`git pull origin production`
219
+
1.`git pull origin master --commit`
220
+
1. For the deploy to the demo environment: `git push origin production`
221
+
1. For the deploy to the production environment: `git tag -s v1.X.Y -m v1.X.Y` (bump X if DB migration involved) and `git push origin production --tags`
222
+
211
223
### Notes for setting up an Auth0 tenant
212
224
213
225
If you are setting up a new Auth0 tenant, we require access to the Auth0 Management API. In order to do this
214
226
215
227
- Under 'APIs' select Auth0 Management API, go to 'Machine to Machine Applications' and enable access
216
228
- Grant scopes for read/update/delete/create users and users_app_metadata.
217
229
218
-
###Contribution guidelines
230
+
## Contribution guidelines
219
231
220
232
You gotta be awesome and kind.
221
233
For everything else, please see our [contribution guidelines](https://github.com/boxwise/dropapp/blob/master/CONTRIBUTING.md)
@@ -224,6 +236,6 @@ For everything else, please see our [contribution guidelines](https://github.com
224
236
225
237
Drop us an email to hello@boxtribute.org!
226
238
227
-
###License
239
+
## License
228
240
229
241
See the [LICENSE](./LICENSE) file for license rights and limitations (Apache 2.0).
0 commit comments