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
First of all, thanks for your interest in contributing to the new website. All tasks, whether they are bug fixes or new features, are tracked as issues in our GitHub repository. For each issue, we follow a feature-branch workflow.
4
+
5
+
The `development`-branch is the primary branch for ongoing work, while the `main`-branch is reserved for production deployment. When addressing an issue, please create a new feature branch from `development` with the branch name matching the issue id or title (e.g. feature/(id or title)), then submit a PR for review. Once your PR is reviewed and approved, it will be merged into development.
6
+
7
+
## Commit Messages
8
+
9
+
We follow the Conventional Commits specification. Please use the structure explained in the [quick summary](https://www.conventionalcommits.org/en/v1.0.0/#summary) of the specification. Commit messages are written in the imperative present tense, describing what the commit does, as if giving a command or instruction. Examples are listed below.
10
+
11
+
```text
12
+
feat(web): add redirect instead of console.log (due to linting)
13
+
fix(ci): avoid running deploy job on PR pushes
14
+
chore(deps-dev): bump eslint-plugin-unused-imports from 3.1.0 to 3.2.0 in /cms
15
+
```
16
+
17
+
## Development Setup
18
+
19
+
The setup for this project consists of three main parts: the website (web), the content management system (cms), and the database (db). The website is built with Next.js, while the CMS is Strapi, and MySQL 8 is used for the database. You'll need Node.js with npm for both web and cms. If you want to start the applications without docker please refer to the specific Node.js versions indicated in the `.nvmrc` file or the `engines` field in `package.json`. However, we use Docker to facilitate the development process. Both the website and CMS have their own Dockerfile. All components are managed together in a docker-compose file.
20
+
21
+
For more information about the headless CMS used in this project, visit the official documentation: https://docs.strapi.io/
22
+
23
+
### Prerequisites
24
+
25
+
- Docker and Docker Compose
26
+
- Node.js and NPM
27
+
- MySQL 8
28
+
- Node version manager NVM
29
+
- Make
30
+
31
+
### Getting Started
32
+
33
+
```sh
34
+
git checkout development
35
+
36
+
# if you have node version manager installed otherwise ensure you have the correct node version, specified in .nvmrc
37
+
nvm use
38
+
39
+
# see makefile for available commands
40
+
make
41
+
42
+
# i.e install dependencies, setup .env files, start containers for local development and show logs
Copy file name to clipboardexpand all lines: cms/README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@
2
2
3
3
Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you scaffold and manage your project in seconds.
4
4
5
-
### `develop`
5
+
### `dev`
6
6
7
7
Start your Strapi application with autoReload enabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-develop)
0 commit comments