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
@@ -77,6 +80,7 @@ have to mount a project directory if you do not want to parse it later.
77
80
### Build, install and test CodeCompass
78
81
You can use the `codecompass-build.sh` script inside the container to build,
79
82
install and test CodeCompass:
83
+
(If you get a timeout error when downloading, put this command before install: NODE_OPTIONS="--max-old-space-size=4096" NEXT_PRIVATE_BUILD_WORKER_TIMEOUT=600)
80
84
```bash
81
85
# Build CodeCompass.
82
86
codecompass-build.sh -j8
@@ -88,25 +92,55 @@ codecompass-build.sh install
88
92
codecompass-build.sh test
89
93
```
90
94
95
+
### Make a Postgresql container
96
+
You need to create a PostgreSQL container that CodeCompass can communicate with.
97
+
(postgres is the image name and :15 is the specific version)
98
+
```bash
99
+
docker run \
100
+
--name postgres_container \
101
+
-e POSTGRES_PASSWORD=root_password \
102
+
-d \
103
+
-p 5432:5432 \
104
+
postgres:15
105
+
```
106
+
107
+
### Create a network and connect CodeCompass and Postgres
0 commit comments