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
The project uses Git submodules for some dependencies, so you need to initialize them with:
24
+
25
+
```sh
26
+
git submodule init
27
+
git submodule update
28
+
```
29
+
21
30
## Install requirements
22
31
23
-
Although you will not need the requirements in your machine since the development will happen in docker, I still recommend to install them because this way you will not have import errors. To install the go requirements run:
32
+
Although you will not need the requirements in your machine since the development will happen in Docker, I still recommend to install them because this way you will not have import errors. To install the Go requirements run:
24
33
25
34
```sh
26
-
go mod tidy
35
+
go mod download
27
36
```
28
37
29
38
You also need to download the frontend dependencies, this can be done like so:
@@ -33,13 +42,21 @@ cd frontend/
33
42
bun install
34
43
```
35
44
45
+
## Apply patches
46
+
47
+
Some of the dependencies need to be patched in order to work correctly with the project, you can apply the patches by running:
In order to configure the app you need to create an environment file, this can be done by copying the `.env.example` file to `.env` and modifying the environment variables to suit your needs.
39
56
40
57
## Developing
41
58
42
-
I have designed the development workflow to be entirely in docker, this is because it will directly work with traefik and you will not need to do any building in your host machine. The recommended development setup is to have a subdomain pointing to your machine like this:
59
+
I have designed the development workflow to be entirely in Docker, this is because it will directly work with Traefik and you will not need to do any building in your host machine. The recommended development setup is to have a subdomain pointing to your machine like this:
43
60
44
61
```
45
62
*.dev.example.com -> 127.0.0.1
@@ -49,7 +66,7 @@ dev.example.com -> 127.0.0.1
49
66
> [!TIP]
50
67
> You can use [sslip.io](https://sslip.io) as a domain if you don't have one to develop with.
51
68
52
-
Then you can just make sure the domains are correct in the development docker compose file and run:
69
+
Then you can just make sure the domains are correct in the development Docker compose file and run:
53
70
54
71
```sh
55
72
docker compose -f docker-compose.dev.yml up --build
0 commit comments