Initial move

This commit is contained in:
2024-09-03 14:50:33 +02:00
parent adb6be0006
commit 9fa656ed5e
138 changed files with 13117 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=backend Service
After=network.target
[Service]
User=notebrook
WorkingDirectory=/home/notebrook/backend
ExecStart=/usr/bin/npm start
Restart=always
Environment=PATH=/usr/bin:/usr/local/bin
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=frontend Service notebrook
After=network.target
[Service]
User=notebrook
WorkingDirectory=/home/notebrook/frontend
ExecStart=/usr/bin/npm run dev -- --host
Restart=always
Environment=PATH=/usr/bin:/usr/local/bin
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target