File tree Expand file tree Collapse file tree 1 file changed +2
-48
lines changed
Expand file tree Collapse file tree 1 file changed +2
-48
lines changed Original file line number Diff line number Diff line change @@ -63,60 +63,14 @@ Apply `initial_data.json` fixture. This action will erase all previous data:
6363make loaddata
6464```
6565
66+ * Default admin password for local development is ` admin ` .*
67+
6668#### Run tests
6769
6870``` shell
6971make tests
7072```
7173
72- ### Using docker compose
73-
74- #### Step 1: Build
75-
76- ``` shell
77- docker compose -p django_atomic_transactions -f environment/docker compose.yml build
78- ```
79-
80- #### Step 2: Migrate
81-
82- Apply django migrations:
83-
84- ``` shell
85- docker compose -p django_atomic_transactions -f environment/docker compose.yml run --rm --service-ports web migrate
86- ```
87-
88- #### Step 3: Run service
89-
90- * ** Runserver**
91-
92- Run django runserver command:
93-
94- ``` shell
95- docker compose -p django_atomic_transactions -f environment/docker compose.yml run --rm --service-ports web dev
96- ```
97-
98- * ** Uvicorn**
99-
100- Run uvicorn server:
101-
102- ``` shell
103- docker compose -p django_atomic_transactions -f environment/docker compose.yml run --rm --service-ports web uvicorn
104- ```
105-
106- #### Step 4: Load sample data
107-
108- Apply ` initial_data.json ` fixture. This action will erase all previous data:
109-
110- ``` shell
111- docker compose -p django_atomic_transactions -f environment/docker compose.yml run --rm --service-ports web loaddata
112- ```
113-
114- #### Step 5: Run tests
115-
116- ``` shell
117- docker compose -p django_atomic_transactions -f environment/docker compose.yml run --rm --service-ports web python manage.py test --failfast api
118- ```
119-
12074## Know issues
12175
12276### Database connection error: web service could not connect to db service
You can’t perform that action at this time.
0 commit comments