diff --git a/.env b/.env index db4a487..08cc7ee 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ -ORIGIN= +DOMAIN= VAPID= SECRET= \ No newline at end of file diff --git a/README.md b/README.md index e93c892..bf7bf70 100644 --- a/README.md +++ b/README.md @@ -5,20 +5,12 @@ git submodule init git submodule update ``` -## Certbot -The project is adjusted to use of certbot. -This command might come in handy: -``` -docker run --rm --name certbot -v ":/var/www/certbot/:rw" -v ":/etc/letsencrypt/:rw" certbot/certbot certonly --webroot --webroot-path /var/www/certbot/ -d -``` -Replace `` at the end with your domain name and add proper absolute `PATHS`. - ## Things to change Change following files: - `.env`: | What to change | Note | | --- | --- | - | `ORIGIN=` | Insert final domain name | + | `DOMAIN=` | Insert final domain name | | `VAPID=` | Used for notifications. Currently broken. | | `SECRET=` | Used for encrypting sessions. | - `./config/`: @@ -32,18 +24,4 @@ Change following files: - `usettings.json`: Most things can be changed on the fly inside of the app. `menu` is not done yet. - `./ipwa`: - - `Dockerfile`: - | Line | What to change | Note | - | --- | --- | --- | - | 7 | ``apiEndpoint: `http://localhost/api`,`` | Change url to backend endpoint | - - - `httpd.conf`: - | Line | What to change | Note | - | --- | --- | --- | - | 233 | `ServerAdmin you@example.com` | Change to webmaster's email | - | 242 | `ServerName www.example.com` | Change to final domain name | - | 312 | `ServerName www.example.com` | See above | - | 314 | `SSLCertificateFile /cert/live//cert.pem` | Change `` to the domain name above | - | 315 | `SSLCertificateKeyFile /cert/live//privkey.pem` | Change `` to the domain name above | - | 316 | `SSLCertificateChainFile /cert/live//chain.pem` | Change `` to the domain name above | - (Optional) `src/assets/icons/*` - You can change the icons to your own diff --git a/ipwa b/ipwa index 7519f21..a5824f8 160000 --- a/ipwa +++ b/ipwa @@ -1 +1 @@ -Subproject commit 7519f213899662428d25ff537f007a0aabead441 +Subproject commit a5824f8b51e38ba53c968267385f593fdcfb4e2e diff --git a/ipwa-backend b/ipwa-backend index 7f3cefd..6e06709 160000 --- a/ipwa-backend +++ b/ipwa-backend @@ -1 +1 @@ -Subproject commit 7f3cefdc220972da4b305583b302416fd7c0b29a +Subproject commit 6e06709e9c7435006ec4114db3ec71191ad578a2