Skip to content

Commit 4dfec62

Browse files
committed
address #1709
1 parent 906f1c5 commit 4dfec62

File tree

2 files changed

+25
-27
lines changed

2 files changed

+25
-27
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,10 @@ git clone [email protected]:leggedrobotics/kleinkram.git
2525
cd kleinkram
2626
```
2727

28-
Install `yarn` dependencies:
29-
30-
```bash
31-
yarn
32-
```
33-
3428
Now you can run Kleinkram using `docker compose`
3529

3630
```bash
37-
docker compose up
31+
docker compose up --build
3832
```
3933

4034
This will launch the frontend under `http://localhost:8003`,

docs/development/getting-started.md

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,20 @@ To enable code completion and linting in your IDE, you may also need a NodeJS, y
2121
1. Clone the repository
2222

2323
```bash
24-
git clone <repository-url>
24+
git clone [email protected]:leggedrobotics/kleinkram.git
25+
cd kleinkram
2526
```
2627

27-
2. Navigate to the project directory
28-
29-
```bash
30-
cd <project-directory>
31-
```
32-
33-
3. Run the following command to start the development server
28+
2. Run the following command to start the development server
3429

3530
```bash
3631
docker compose up --build
3732
```
3833

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).
4035

4136
::: 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).
4338
:::
4439

4540
::: tip
@@ -55,29 +50,27 @@ In principle the setup works similar to running the project locally, however, th
5550
### Setting Up the Development Environment
5651

5752
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
6054

61-
```bash
62-
docker compose up --build --watch
63-
```
55+
```bash
56+
docker compose up --build --watch
57+
```
6458

6559
::: tip
66-
6760
- the `--build` flag is used to build the project before starting the development server.
6861
- the `--watch` flag is optional and is used to watch for changes in the codebase.
69-
:::
62+
:::
7063

71-
4. You can now open the projects:
64+
3. You can now open the projects:
7265
- frontend at [http://localhost:8003](http://localhost:8003).
7366
- minio console at [http://localhost:9001](http://localhost:9001).
7467
- documentation at [http://localhost:4000](http://localhost:4000).
7568

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.
7770
- For JavaScript/TypeScript, you may need to install NodeJS and yarn.
7871
- For Python, you may need to install python and pip.
7972

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
8174
top-level directory of the project:
8275

8376
```bash
@@ -89,6 +82,17 @@ The application continues to run in the Docker container, the above command inst
8982
machine. This is necessary for code completion and linting in your IDE.
9083
:::
9184

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+
9296
### Enable Database Seeding
9397

9498
In order to seed the database with mock data, you can run the following command:

0 commit comments

Comments
 (0)