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
Copy file name to clipboardexpand all lines: README.md
+30
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,36 @@ The Website for coordinating the rehabilitation of the people affected in the 20
10
10
11
11
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
12
12
13
+
14
+
### Using Docker
15
+
16
+
- Only pre-requisite is having docker and docker-compose installed
17
+
- Execute `sh docker.sh` in this directory (if you do not have permissions on the `docker.sh`, do `chmod +x docker.sh`)
18
+
- Server will start running at `localhost:8000`
19
+
-`Ctrl+C` to stop
20
+
21
+
#### troubleshooting docker
22
+
* Incompatible docker version
23
+
24
+
> ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
25
+
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
26
+
27
+
28
+
**Fix**
29
+
30
+
Update your docker toolkit
31
+
32
+
* Insufficient permissions
33
+
> ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
34
+
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
35
+
36
+
37
+
**Fix**
38
+
39
+
Run it with sudo - `sudo sh docker.sh`
40
+
41
+
42
+
## Running natively
13
43
### Prerequisites
14
44
15
45
You will need to have following softwares in your system:
0 commit comments