Skip to content

Commit 50865a7

Browse files
Add script for setting up a test server
1 parent 2654859 commit 50865a7

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

setup-test-server.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
# when you ssh into a new empty ubuntu server:
4+
#
5+
# git clone https://github.com/pdsinterop/solid-nextcloud
6+
# cd solid-nextcloud
7+
# /bin/bash ./setup-test-server.sh
8+
#
9+
# that runs this script :)
10+
11+
apt update
12+
apt install -y docker certbot
13+
certbot certonly --standalone
14+
docker build -t solid-nextcloud .
15+
docker build -t pubsub-server https://github.com/pdsinterop/php-solid-pubsub-server.git#main

0 commit comments

Comments
 (0)