Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit dbe5b28

Browse files
committed
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
2 parents b7e78d6 + 22a3bbf commit dbe5b28

File tree

1 file changed

+6
-6
lines changed
  • documentation/docs/guide/project-setup

1 file changed

+6
-6
lines changed

documentation/docs/guide/project-setup/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Currently we only have a one file (`README.md`) and one branch (`master`). Let's
5454

5555
```
5656
git add .
57-
git commit -m "save readme.md
57+
git commit -m "save readme.md"
5858
git checkout -b develop master
5959
```
6060

@@ -118,7 +118,7 @@ Next, let's create a `requirements.txt` file. Our Dockerfile is expecting this f
118118

119119
```
120120
Django==2.1.3
121-
psycopg2==2.7.5
121+
psycopg2-binary==2.7.5
122122
```
123123

124124
### Docker Compose
@@ -321,7 +321,7 @@ DATABASES = {
321321
}
322322
```
323323

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.
325325

326326
The script should live in a file called `scripts` that lives in the `backend` folder in the root directory of our project.
327327

@@ -468,7 +468,7 @@ class TestDatabase(TestCase):
468468
password='pass'
469469
)
470470
user.save()
471-
user_count = Users.objects.all().count()
471+
user_count = User.objects.all().count()
472472
self.assertEqual(user_count, 1)
473473
```
474474

@@ -540,7 +540,7 @@ You may choose to add this virual environment through another tool such as `pyen
540540

541541
Let's add a `.gitignore` to keep the `.env` folder out of source control:
542542

543-
**.gitignore**
543+
**./.env/.gitignore**
544544

545545
```
546546
.env
@@ -697,7 +697,7 @@ test:
697697
- pytest --cov
698698
```
699699
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`:
701701

702702
```
703703
^TOTAL\s+\d+\s+\d+\s+(\d+\%)$

0 commit comments

Comments
 (0)