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
{{ message }}
This repository was archived by the owner on Mar 27, 2023. It is now read-only.
Merge branch 'rnwtenor-develop-patch-69277' into 'develop'
Update readability and syntax of documentation/docs/guide/project-setup/README.md
See merge request verbose-equals-true/django-postgres-vue-gitlab-ecs!8
Copy file name to clipboardExpand all lines: documentation/docs/guide/project-setup/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Currently we only have a one file (`README.md`) and one branch (`master`). Let's
54
54
55
55
```
56
56
git add .
57
-
git commit -m "save readme.md
57
+
git commit -m "save readme.md"
58
58
git checkout -b develop master
59
59
```
60
60
@@ -118,7 +118,7 @@ Next, let's create a `requirements.txt` file. Our Dockerfile is expecting this f
118
118
119
119
```
120
120
Django==2.1.3
121
-
psycopg2==2.7.5
121
+
psycopg2-binary==2.7.5
122
122
```
123
123
124
124
### Docker Compose
@@ -321,7 +321,7 @@ DATABASES = {
321
321
}
322
322
```
323
323
324
-
Next, let's replace the `command` part of the `backend` service. When this service starts, we will want to do more than simply `runserver`. We want to collect static files, make migrations, run migrations and finally run the development server. To do all of these things, we will include run a script that will do all of these things.
324
+
Next, let's replace the `command` part of the `backend` service. When this service starts, we will want to do more than simply `runserver`. We want to collect static files, make migrations, run migrations and finally run the development server. To do all of these things, we will include and run a script that will do all of these things.
325
325
326
326
The script should live in a file called `scripts` that lives in the `backend` folder in the root directory of our project.
327
327
@@ -468,7 +468,7 @@ class TestDatabase(TestCase):
468
468
password='pass'
469
469
)
470
470
user.save()
471
-
user_count =Users.objects.all().count()
471
+
user_count =User.objects.all().count()
472
472
self.assertEqual(user_count, 1)
473
473
```
474
474
@@ -540,7 +540,7 @@ You may choose to add this virual environment through another tool such as `pyen
540
540
541
541
Let's add a `.gitignore` to keep the `.env` folder out of source control:
542
542
543
-
**.gitignore**
543
+
**./.env/.gitignore**
544
544
545
545
```
546
546
.env
@@ -697,7 +697,7 @@ test:
697
697
- pytest --cov
698
698
```
699
699
700
-
In GitLab's `Settings` > `CI/CD` section, add the following to `Test Coverage Parsing`:
700
+
In GitLab's `Settings` > `CI/CD` section (Gitlab.com > [project] > Settings > CI/CD > General pipelines > Test coverage parsing), add the following to `Test Coverage Parsing`:
0 commit comments