Updated instructions

This commit is contained in:
2025-06-19 19:18:46 -05:00
parent 807302144e
commit 0d9ed716b3

View File

@@ -18,7 +18,9 @@ A homepage replacement for your browser built on React and SQL.
Navigate to the TriggerFrontend and TriggerBackend folders and run:
* npm install --legacy-peer-deps
* npm install
* If you encounter errors installing, try adding --legacy-peer-deps
### WARNING !!!
@@ -63,7 +65,7 @@ cp TriggerFrontend/.env.example TriggerFrontend/.env
cp TriggerBackend/.env.example TriggerBackend/.env
```
⚠️ Update the following fields to match your environment's URLs. The Domains and Base URL here must be defined without a leading '/'! ⚠️
⚠️ Update the following fields to match your environment's URLs and credentials. The Domains and Base URL here must be defined without a leading '/'! ⚠️
Frontend .env.example
```shell
@@ -100,8 +102,12 @@ Run with pm2:
```shell
sudo npm install -g pm2
cd TriggerFrontend/
sudo pm2 serve ./dist --no-daemon --spa --port 3000
cd ..
cd TriggerBackend/
sudo pm2 start server.cjs
```