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
@@ -121,7 +105,7 @@ This codebase has two deploy methods available via GitHub actions:
121
105
122
106
### Virtualized Deploy Workflow
123
107
124
-
The `vm-deploy-qa` and `vm-deploy-prod` branches will trigger this wokflow. You can use it to deploy the app to any Virtual Machine accessible via SSH (AWS EC2s, GCloud apps, Digital Ocean droplets, Hostgator VPSs, etc), and you would likely want to change the name of these branches to something more meaningful to your project.
108
+
The `vm-deploy` branch will trigger this wokflow. You can use it to deploy the app to any Virtual Machine accessible via SSH (AWS EC2s, GCloud apps, Digital Ocean droplets, Hostgator VPSs, etc), and you would likely want to change the name of these branches to something more meaningful to your project.
125
109
126
110
### Bare-metal Deploy Workflow
127
111
@@ -133,35 +117,32 @@ You should configure these variables on a `.env` file on the root folder for the
| SECRET_KEY |w%h-ok)&7l2e@1&ht!#ol3!!qg9zwz9hs\$wf@fk4e0-7x1r\*#d| Django's SECRET_KEY used to encrypt passwords. It can be generated by running: `python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'`|
139
-
| CDN_NAME | - | Cloudinary's CDN name |
140
-
| CDN_API_KEY | - | Cloudinary's CDN API key |
141
-
| CDN_API_SECRET | - | Cloudinary's CDN API secret |
142
-
| DB_HOST | - | Database host name |
143
-
| DB_NAME | - | Database name |
144
-
| DB_USER | - | Database user |
145
-
| DB_PASSWORD | - | Database password |
146
-
| DB_PORT | - | Databse port |
147
-
| SMTP_HOST_USER || Your SMTP email (should be a GMail one)|
148
-
| SMTP_HOST_PASSWORD | - | Your SMTP email password |
149
-
| TEST | 0 | Used to test the app on the pipeline|
| SECRET_KEY |- | Django's SECRET_KEY used to encrypt passwords. It can be generated by running: `python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'`|
123
+
| CDN_NAME | - | Cloudinary's CDN name |
124
+
| CDN_API_KEY | - | Cloudinary's CDN API key |
125
+
| CDN_API_SECRET | - | Cloudinary's CDN API secret |
126
+
| DB_HOST | - | Database host name |
127
+
| DB_NAME | - | Database name |
128
+
| DB_USER | - | Database user |
129
+
| DB_PASSWORD | - | Database password |
130
+
| DB_PORT | - | Databse port |
131
+
| SMTP_HOST_USER || Your SMTP email|
132
+
| SMTP_HOST_PASSWORD | - | Your SMTP email password |
| MODE |`production`. This is hardcoded on the [Dockerfile](./Dockerfile)|
141
+
| ALLOWED_HOSTS | A set of hosts allowed to pass CORS policy. I.g: "www.example.com" "example.com" |
142
+
| DEPLOY_TOKEN | A Github token with permission to pull this project's image from your Github registry |
143
+
| HOST | The domain under which your site will be hosted (i.g.:example.com) |
144
+
| SSH_PRIVATE_KEY | The SSH key used to access the host machine |
145
+
| USERNAME | The SSH username used to access the host machine |
165
146
166
147
### Frontend
167
148
@@ -170,11 +151,3 @@ You should configure these variables on a `.env` file on the root folder for the
170
151
| NODE_ENV |`development`| Let's Webpack know when to build files to correct public path, optimize code and when to prepend localhost for API endpoints or not. Values must be either `development` or `production`. This is hardcoded on the [Dockerfile](./Dockerfile)|
171
152
| AUTH_TOKEN | - | An auth key generated on Django's admin that must be associated to a user with specific permissions (i.g.: read specific infos from Django's ORM) |
0 commit comments