Skip to content

Commit c41bb5a

Browse files
authored
Merge pull request #361 from shapehq/develop
Deploy to production
2 parents 4a4e742 + 5f612b2 commit c41bb5a

File tree

20 files changed

+300
-380
lines changed

20 files changed

+300
-380
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ yarn-error.log*
2626

2727
# local env files
2828
.env*.local
29-
29+
.env
3030
# vercel
3131
.vercel
3232

.vscode/launch.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Next.js: debug server-side",
6+
"type": "node-terminal",
7+
"request": "launch",
8+
"command": "npm run dev"
9+
},
10+
{
11+
"name": "Next.js: debug client-side",
12+
"type": "chrome",
13+
"request": "launch",
14+
"url": "http://localhost:3000"
15+
},
16+
{
17+
"name": "Next.js: debug full stack",
18+
"type": "node",
19+
"request": "launch",
20+
"program": "${workspaceFolder}/node_modules/.bin/next",
21+
"runtimeArgs": ["--inspect"],
22+
"skipFiles": ["<node_internals>/**"],
23+
"serverReadyAction": {
24+
"action": "debugWithChrome",
25+
"killOnServerStop": true,
26+
"pattern": "- Local:.+(https?://.+)",
27+
"uriFormat": "%s",
28+
"webRoot": "${workspaceFolder}"
29+
}
30+
}
31+
]
32+
}

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,22 @@ Clone the repository and consult the articles on [running Framna Docs locally](h
6363
git clone git@github.com:shapehq/framna-docs.git
6464
```
6565

66-
## 🔀 Git Workflow
66+
### 🔀 Git Workflow
6767

68-
Two long-lived branches exist
68+
Two following long-lived branches exist:
6969

70-
* **main** (stable/release - deploy to a **production** environment)
71-
* **develop** (integration - deploy to a **staging** environment)
70+
* **main**: Stable/release branch meant for deployment to the production environment.
71+
* **develop**: Branch meant for deployment to a staging environment.
7272

7373
**Do's 👍**
7474

75-
1. Features are branched off from `develop` and merged back in using a PR when ready. Rebase or merge `develop` in to keep the feature branch up to date. Squash merge the feature branch into `develop`.
76-
2. `develop` is merged into `main` whenever a new release is made. Only regular merge commits are allowed in this case. You do not need to "bring develop up to date" with `main` before merging.
77-
3. A hotfix is applied by branching out from `main`. The hotfix branch _must_ be merged into both `main` and `develop`.
75+
- Features are branched off from `develop` and merged back in using a PR when ready. Rebase or merge `develop` in to keep the feature branch up to date. Squash merge the feature branch into `develop`.
76+
- `develop` is merged into `main` whenever a new release is made. Only regular merge commits are allowed in this case. You do not need to bring develop up to date with `main` before merging.
77+
- A hotfix is applied by branching out from `main`. The hotfix branch _must_ be merged into both `main` and `develop`.
7878

7979
**Don'ts 🙅‍♂️**
8080

81-
1. Never squash merge `develop` into `main` ☠️
81+
- Never squash merge `develop` into `main`.
8282

8383
## ❤️ The Product of a Shape Weekend
8484

0 commit comments

Comments
 (0)