2.1 KiB
2.1 KiB
Submodules
You need to pull the submodules
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 "<PATH TO ./cert/www>:/var/www/certbot/:rw" -v "<PATH TO ./cert/conf>:/etc/letsencrypt/:rw" certbot/certbot certonly --webroot --webroot-path /var/www/certbot/ -d <DOMAIN NAME>
Replace <DOMAIN NAME> 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 VAPID=Used for notifications. Currently broken. SECRET=Used for encrypting sessions. ./config/:keys.json:What to change Note publicKeyAdd your own VAPID keys privateKeyAdd your own VAPID keys options.json: Change your desired modules by swapping betweentrueandfalsenext to their name.usettings.json: Most things can be changed on the fly inside of the app.menuis 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.comChange to webmaster's email 242 ServerName www.example.comChange to final domain name 312 ServerName www.example.comSee above 314 SSLCertificateFile /cert/live/<domain>/cert.pemChange <domain>to the domain name above315 SSLCertificateKeyFile /cert/live/<domain>/privkey.pemChange <domain>to the domain name above316 SSLCertificateChainFile /cert/live/<domain>/chain.pemChange <domain>to the domain name above -
(Optional)
src/assets/icons/*- You can change the icons to your own
-