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
3. Run the following command to start the development server
28
+
2. Run the following command to start the development server
34
29
35
30
```bash
36
31
docker compose up --build
37
32
```
38
33
39
-
4. You can now open the projects frontend at [http://localhost:8003](http://localhost:8003).
34
+
3. You can now open the projects frontend at [http://localhost:8003](http://localhost:8003).
40
35
41
36
::: info
42
-
The `--build` flag is used to build the project before starting the development server.
37
+
The `--build` flag is used to re-build the docker images before starting the development server. See [official docker docs](https://docs.docker.com/reference/cli/docker/compose/up/#options).
43
38
:::
44
39
45
40
::: tip
@@ -55,29 +50,27 @@ In principle the setup works similar to running the project locally, however, th
55
50
### Setting Up the Development Environment
56
51
57
52
1. Clone the repository
58
-
2. Navigate to the project directory
59
-
3. Run the following command to start the development server
53
+
2. Run the following command to start the development server
60
54
61
-
```bash
62
-
docker compose up --build --watch
63
-
```
55
+
```bash
56
+
docker compose up --build --watch
57
+
```
64
58
65
59
::: tip
66
-
67
60
- the `--build` flag is used to build the project before starting the development server.
68
61
- the `--watch` flag is optional and is used to watch for changes in the codebase.
69
-
:::
62
+
:::
70
63
71
-
4. You can now open the projects:
64
+
3. You can now open the projects:
72
65
- frontend at [http://localhost:8003](http://localhost:8003).
73
66
- minio console at [http://localhost:9001](http://localhost:9001).
74
67
- documentation at [http://localhost:4000](http://localhost:4000).
75
68
76
-
5. In order to enable code completion and linting in your IDE, you may need to install additional tools.
69
+
4. In order to enable code completion and linting in your IDE, you may need to install additional tools.
77
70
- For JavaScript/TypeScript, you may need to install NodeJS and yarn.
78
71
- For Python, you may need to install python and pip.
79
72
80
-
6. You can now install the dependencies for the frontend and the backend by running the following command in the
73
+
5. You can now install the dependencies for the frontend and the backend by running the following command in the
81
74
top-level directory of the project:
82
75
83
76
```bash
@@ -89,6 +82,17 @@ The application continues to run in the Docker container, the above command inst
89
82
machine. This is necessary forcode completion and lintingin your IDE.
90
83
:::
91
84
85
+
6. For installing the cli, you can use the following command:
86
+
87
+
```bash
88
+
cd kleinkram/cli
89
+
90
+
virtualenv -ppython3.8 .venv
91
+
source .venv/bin/activate
92
+
pip install -e . -r requirements.txt
93
+
```
94
+
95
+
92
96
### Enable Database Seeding
93
97
94
98
In order to seed the database with mock data, you can run the following command:
0 commit comments