Skip to content

Commit c68ae09

Browse files
Merge pull request alephdata#3779 from vsessink/patch-2
Order of commands made more clean
2 parents 5cb8b66 + af3be50 commit c68ae09

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/src/pages/developers/installation.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,28 +207,28 @@ To begin a production deployment:
207207
sudo sysctl -w vm.max_map_count=262144
208208
```
209209

210-
- Finally, you can boot the docker-compose environment:
210+
- After that, you can boot the docker-compose environment:
211211

212212
```bash
213213
docker-compose up -d
214214
```
215215

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:
217217

218218
```bash
219-
docker-compose down
219+
docker-compose run --rm shell aleph upgrade
220220
```
221221

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:
223223

224224
```bash
225-
docker-compose run --rm shell aleph upgrade
225+
curl http://localhost:8080/api/2/statistics
226226
```
227227

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:
229229

230230
```bash
231-
curl http://localhost:8080/api/2/statistics
231+
docker-compose down
232232
```
233233

234234
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

Comments
 (0)