Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chromesd22159/frederikkohlerfrontend
frederikKohlerFrontend
https://github.com/chromesd22159/frederikkohlerfrontend
Last synced: about 1 month ago
JSON representation
frederikKohlerFrontend
- Host: GitHub
- URL: https://github.com/chromesd22159/frederikkohlerfrontend
- Owner: ChromeSD22159
- Created: 2023-11-23T11:45:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T10:05:02.000Z (2 months ago)
- Last Synced: 2024-10-17T22:04:10.709Z (2 months ago)
- Language: Vue
- Size: 6.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frederik Kohler NuxtJS Frontend
### Deploymend
- .output
- package.json
- package-lock.json
- .env (or custom environment variables)
--> Run npm install on Plesk### SSH
--> `cd /var/www/vhosts/frederikkohler.de/httpdocs``scp -r /Users/frederikkohler/Desktop/Github/ProProthese/frontend/.output [email protected]:/var/www/vhosts/frederikkohler.de/httpdocs`
### Add Custom environment variables
- MAILHOST: `smtp.domain.de`
- MAILPORT: `<465>`
- MAILUSER: `[email protected]`
- MAILPASS: `password`
- CONTACTMAIL: `[email protected]`
- NOREPLY: `[email protected]`
- STRAPI_URL: `domain.de`
- BETTERUPTIMETOKEN: `token`
- APPSTORETOKEN: `token from the .8p file`
- BETTERUPTIMEPAGES: `['id', 'id']`
- DEBUG: `true`
-- Restart App### nginx config
- Navigate to: `cd /etc/nginx`
- Open nginx config file: `vim nginx.conf`- Insert into `http {..}` after `server_tokens off;`:
```
server {
listen 80;
server_name ; # Replace this with your own domainlocation / {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;# Enable URI and query string forwarding
proxy_set_header X-Original-URI $request_uri;
proxy_set_header X-Original-Host $host;# Forwarding the upgrade headers, e.g. for WebSockets
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
```- `systemctl restart nginx` OR `service nginx restart`
### New Release:
#### Deploy first to the stage and after a successful test to the live.
1. Upload the new folder `./output/publix` and if needed also `./output/server`
2. Restart App in Plesk