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: CONTRIBUTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ That will also contain all the generated files with the generated variables, but
46
46
47
47
*`./scripts/discard-dev-files.sh`:
48
48
49
-
After using `./scripts/dev-fsfp-back.sh`, there will be a bunch of generated files with the variables for the generated project that you don't want to commit, like `README.md` and `.gitlab-ci.yml`.
49
+
After using `./scripts/dev-fsfp-back.sh`, there will be a bunch of generated files with the variables for the generated project that you don't want to commit, like `README.md` and `.actions.yml`.
50
50
51
51
To discard all those changes at once, run `discard-dev-files.sh` from the root of the project, e.g.:
Copy file name to clipboardExpand all lines: docs/development-guide.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,8 @@ The input variables, with their default values (some auto generated) are:
68
68
-`traefik_public_constraint_tag`: The tag that should be used by stack services that should communicate with the public.
69
69
-`flower_auth`: Basic HTTP authentication for flower, in the form`user:password`. By default: "`admin:changethis`".
70
70
-`sentry_dsn`: Key URL (DSN) of Sentry, for live error reporting. You can use the open source version or a free account. E.g.: `https://1234abcd:[email protected]/30`.
71
-
-`docker_image_prefix`: Prefix to use for Docker image names. If you are using GitLab Docker registry it would be based on your code repository. E.g.: `git.example.com/development-team/my-awesome-project/`.
72
-
-`docker_image_backend`: Docker image name for the backend. By default, it will be based on your Docker image prefix, e.g.: `git.example.com/development-team/my-awesome-project/backend`. And depending on your environment, a different tag will be appended ( `prod`, `stag`, `branch` ). So, the final image names used will be like: `git.example.com/development-team/my-awesome-project/backend:prod`.
71
+
-`docker_image_prefix`: Prefix to use for Docker image names. If you are using A non-DockerHub registry it would be based on your code repository. E.g.: `quay.io/development-team/my-awesome-project/`.
72
+
-`docker_image_backend`: Docker image name for the backend. By default, it will be based on your Docker image prefix, e.g.: `quay.io/development-team/my-awesome-project/backend`. And depending on your environment, a different tag will be appended ( `prod`, `stag`, `branch` ). So, the final image names used will be like: `quay.io/development-team/my-awesome-project/backend:prod`.
73
73
-`docker_image_celeryworker`: Docker image for the celery worker. By default, based on your Docker image prefix.
74
74
-`docker_image_frontend`: Docker image for the frontend. By default, based on your Docker image prefix.
Copy file name to clipboardExpand all lines: docs/getting-started.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ This FastAPI, React, MongoDB repo will generate a complete web application stack
39
39
-**Flower** for Celery jobs monitoring.
40
40
- Load balancing between frontend and backend with **Traefik**, so you can have both under the same domain, separated by path, but served by different containers.
41
41
- Traefik integration, including Let's Encrypt **HTTPS** certificates automatic generation.
42
-
-GitLab **CI** (continuous integration), including frontend and backend testing.
42
+
-**Github Actions** (continuous integration), including backend testing.
If you use GitLab CI, the included `.gitlab-ci.yml` can automatically deploy it. You may need to update it according to your GitLab configurations.
625
+
In order to run properly in Github, you need to provide a `secrets.DOCKERHUB_USERNAME` and `secrets.DOCKERHUB_PASSWORD` in your Github repository secrets. Read more [here](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions) on how that is done.
626
626
627
-
If you use any other CI / CD provider, you can base your deployment from that `.gitlab-ci.yml` file, as all the actual script steps are performed in `bash` scripts that you can easily re-use.
627
+
If you use Github Actions, the included `actions.yml` can automatically deploy it. You may need to update it according to your Github configurations. Please check the `actions.yml` file for details on deployment steps
628
628
629
-
GitLab CI is configured assuming 2 environments following GitLab flow:
629
+
If you use any other CI / CD provider, you can base your deployment from that `actions.yml` file, as all the actual script steps are performed in `bash` scripts that you can easily re-use.
630
+
631
+
Github Actions is configured assuming 2 environments following Github flow:
630
632
631
633
* `prod` (production) from the `production` branch.
632
634
* `stag` (staging) from the `master` branch.
633
635
634
-
If you need to add more environments, for example, you could imagine using a client-approved `preprod` branch, you can just copy the configurations in `.gitlab-ci.yml` for `stag` and rename the corresponding variables. The Docker Compose file and environment variables are configured to support as many environments as you need, so that you only need to modify `.gitlab-ci.yml` (or whichever CI system configuration you are using).
636
+
If you need to add more environments, for example, you could imagine using a client-approved `preprod` branch, you can just copy the configurations in `actions.yml` for `stag` and rename the corresponding variables. The Docker Compose file and environment variables are configured to support as many environments as you need, so that you only need to modify `actions.yml` (or whichever CI system configuration you are using).
If you use GitLab CI, the included `.gitlab-ci.yml` can automatically deploy it. You may need to update it according to your GitLab configurations.
634
+
In order to run properly in Github, you need to provide a `secrets.DOCKERHUB_USERNAME` and `secrets.DOCKERHUB_PASSWORD` in your Github repository secrets. Read more [here](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions) on how that is done.
635
635
636
-
If you use any other CI / CD provider, you can base your deployment from that `.gitlab-ci.yml` file, as all the actual script steps are performed in `bash` scripts that you can easily re-use.
636
+
If you use Github Actions, the included `actions.yml` can automatically deploy it. You may need to update it according to your Github configurations. Please check the `actions.yml` file for details on deployment steps
637
637
638
-
GitLab CI is configured assuming 2 environments following GitLab flow:
638
+
If you use any other CI / CD provider, you can base your deployment from that `actions.yml` file, as all the actual script steps are performed in `bash` scripts that you can easily re-use.
639
+
640
+
Github Actions is configured assuming 2 environments following Github flow:
639
641
640
642
* `prod` (production) from the `production` branch.
641
643
* `stag` (staging) from the `master` branch.
642
644
643
-
If you need to add more environments, for example, you could imagine using a client-approved `preprod` branch, you can just copy the configurations in `.gitlab-ci.yml` for `stag` and rename the corresponding variables. The Docker Compose file and environment variables are configured to support as many environments as you need, so that you only need to modify `.gitlab-ci.yml` (or whichever CI system configuration you are using).
645
+
If you need to add more environments, for example, you could imagine using a client-approved `preprod` branch, you can just copy the configurations in `actions.yml` for `stag` and rename the corresponding variables. The Docker Compose file and environment variables are configured to support as many environments as you need, so that you only need to modify `actions.yml` (or whichever CI system configuration you are using).
Copy file name to clipboardExpand all lines: {{cookiecutter.project_slug}}/frontend/app/content/about.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ This project is a comprehensively updated React + MongoDB version of [Sebastián
44
44
-**Flower** for Celery jobs monitoring.
45
45
- Load balancing between frontend and backend with **Traefik**, so you can have both under the same domain, separated by path, but served by different containers.
46
46
- Traefik integration, including Let's Encrypt **HTTPS** certificates automatic generation.
47
-
-GitLab **CI** (continuous integration), including frontend and backend testing.
47
+
-**Github Actions** (continuous integration), including backend testing.
48
48
49
49
## How to use it
50
50
@@ -103,8 +103,8 @@ The input variables, with their default values (some auto generated) are:
103
103
104
104
-`sentry_dsn`: Key URL (DSN) of Sentry, for live error reporting. You can use the open source version or a free account. E.g.: `https://1234abcd:[email protected]/30`.
105
105
106
-
-`docker_image_prefix`: Prefix to use for Docker image names. If you are using GitLab Docker registry it would be based on your code repository. E.g.: `git.example.com/development-team/my-awesome-project/`.
107
-
-`docker_image_backend`: Docker image name for the backend. By default, it will be based on your Docker image prefix, e.g.: `git.example.com/development-team/my-awesome-project/backend`. And depending on your environment, a different tag will be appended ( `prod`, `stag`, `branch` ). So, the final image names used will be like: `git.example.com/development-team/my-awesome-project/backend:prod`.
106
+
-`docker_image_prefix`: Prefix to use for Docker image names. If you are using non-native Docker registry it would be based on your code repository. E.g.: `quay.io/development-team/my-awesome-project/`.
107
+
-`docker_image_backend`: Docker image name for the backend. By default, it will be based on your Docker image prefix, e.g.: `quay.io/development-team/my-awesome-project/backend`. And depending on your environment, a different tag will be appended ( `prod`, `stag`, `branch` ). So, the final image names used will be like: `git.example.com/development-team/my-awesome-project/backend:prod`.
108
108
-`docker_image_celeryworker`: Docker image for the celery worker. By default, based on your Docker image prefix.
109
109
-`docker_image_frontend`: Docker image for the frontend. By default, based on your Docker image prefix.
0 commit comments