Skip to content

Commit 9d5a81a

Browse files
committed
update README
1 parent 77e963f commit 9d5a81a

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

README.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,20 @@ Start the docker containers:
1515
```
1616
docker-compose up
1717
```
18-
This will start up two containers: the solid server and a mailpit server. If you have an actual SMTP server running, feel free to remove the mailpit container.
18+
This will start up three containers: the solid server, pubsub server and a mailpit server. If you have an actual SMTP server running, feel free to remove the mailpit container.
1919

20-
Log into the container (replace 'solid' below with the name of your container).
20+
Run the following commands to set up the container (replace 'solid' below with the name of your
21+
container):
2122
```
22-
docker exec -it solid bash
23+
docker exec -w /opt/solid/ solid mkdir keys pods db
24+
docker exec -w /opt/solid/ solid chown -R www-data:www-data keys pods db
25+
docker exec -w /opt/solid/ solid cp config.php.example config.php
2326
```
2427

25-
Run composer install:
28+
Update the values in the config.php file where needed, then run the
29+
initialization scrip:
2630
```
27-
cd /opt/solid/
28-
composer install
29-
```
30-
31-
Copy config.php.example to config.php and update the values.
32-
```
33-
cp config.php.example config.php
34-
```
35-
36-
Run init.php to generate the keyset and create the database tables.
37-
```
38-
sudo -u www-data php init.php
31+
docker exec -u www-data -i -w /opt/solid/ solid php init.php
3932
```
4033

4134
## DNS gotcha and snake oil certificate

0 commit comments

Comments
 (0)