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: docs/src/pages/developers/installation.mdx
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -207,28 +207,28 @@ To begin a production deployment:
207
207
sudo sysctl -w vm.max_map_count=262144
208
208
```
209
209
210
-
- Finally, you can boot the docker-compose environment:
210
+
- After that, you can boot the docker-compose environment:
211
211
212
212
```bash
213
213
docker-compose up -d
214
214
```
215
215
216
-
This will run Aleph in detached mode. You can shut down the system at any time by issuing the following command:
216
+
This will run Aleph in detached mode. Before Aleph can process any requests or data, you need to make sure it sets up the database and search index correctly by executing an upgrade:
217
217
218
218
```bash
219
-
docker-compose down
219
+
docker-compose run --rm shell aleph upgrade
220
220
```
221
221
222
-
Before Aleph can process any requests or data, you need to make sure it sets up the database and search index correctly by executing an upgrade:
222
+
While the system is running, it will bind to to port `8080` of its host machine and accept incoming connections. You can check that the system is functional with a curl request:
223
223
224
224
```bash
225
-
docker-compose run --rm shell aleph upgrade
225
+
curl http://localhost:8080/api/2/statistics
226
226
```
227
227
228
-
While the system is running, it will bind to to port `8080` of its host machine and accept incoming connections. You can check that the system is functional with a curl request:
228
+
You can shut down the system at any time by issuing the following command:
229
229
230
230
```bash
231
-
curl http://localhost:8080/api/2/statistics
231
+
docker-compose down
232
232
```
233
233
234
234
If your servers firewall configuration allows it, you can now also open `http://localhost:8080` in your browser and use the web interface to navigate the application.
0 commit comments