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
- After making changes, push to Heroku remote branch using `git push heroku main:main` to see the changes take effect on the deployed app. (If you would like to push a certain branch-a to Heroku, you can do so with `git push heroku branch-a:main`)
46
46
47
-
## Development Workflow
48
-
49
-
### Database Migration
50
-
In the event, there is a need to update and migrate the database, perform the following steps.
51
-
52
-
53
-
### Using Docker
54
-
There is also the choice to deploy it with Docker.
47
+
## Using Docker
48
+
You can use Docker for the back-end.
55
49
56
-
1.To Dockerize, first ensure that you have [Docker installed in your host machine](https://www.docker.com/products/docker-desktop/), and that it is running.
50
+
1.First, ensure that you have [Docker installed in your host machine](https://www.docker.com/products/docker-desktop/), and that it is running.
57
51
2. Next, set up an `env.docker` file - you can use the `env.docker.sample` and insert the corresponding values there.
58
52
3. Navigate to the folder in a terminal, then execute the following commands:
59
53
```
@@ -62,22 +56,23 @@ There is also the choice to deploy it with Docker.
62
56
# after it comes up, and in a separate window
63
57
docker ps
64
58
65
-
# look for the CONTAINER ID that corresponds to lms_backend-django
0 commit comments