Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chromesd22159/proprotheseapi
ProProtheseApi
https://github.com/chromesd22159/proprotheseapi
Last synced: 9 days ago
JSON representation
ProProtheseApi
- Host: GitHub
- URL: https://github.com/chromesd22159/proprotheseapi
- Owner: ChromeSD22159
- Created: 2023-10-17T20:41:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-23T11:23:44.000Z (about 1 year ago)
- Last Synced: 2024-11-08T18:05:49.377Z (2 months ago)
- Language: Vue
- Size: 4.05 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`
- 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# Frederik Kohler Strapi Backend
### Deploymend
- config
- database
- public
- src
- types
- .env (or custom environment variables)
- favicon.png
- package.json
- package-lock.json
- server.js
--> Run `$ npm install on Plesk`
--> Run `$ npm run build`### Add Custom environment variables
- HOST: `0.0.0.0`
- PORT: `1337`
- APP_KEYS: `token`
- API_TOKEN_SALT: `token`
- ADMIN_JWT_SECRET: `token`
- TRANSFER_TOKEN_SALT: `token`
- DATABASE_CLIENT: `mysql`
- DATABASE_HOST: `127.0.0.1`
- DATABASE_PORT: `3306`
- DATABASE_NAME: `name`
- DATABASE_USERNAME: `username`
- DATABASE_PASSWORD: `password`
- DATABASE_SSL: `false`
- JWT_SECRET: `token`
- EMAIL_PROVIDER: `nodemailer`
- EMAIL_SMTP_HOST: `smtp.domain.de`
- EMAIL_SMTP_PORT: `465`
- EMAIL_SMTP_USER: `[email protected]`
- EMAIL_SMTP_PASS: `noReply@Fr3d3rik@Kohler`
- EMAIL_ADDRESS_FROM: `[email protected]`
- EMAIL_ADDRESS_REPLY: `[email protected]`
- EMAIL_ADDRESS_TO: `[email protected]`##New Release:
#### Deploy first to the stage and after a successful test to the live.
1. Upload a new folder or replace it with the new content types `src` `types`
2. when new plugin has been installed `$ npm install` and `$ npm run build`.
2. If needed, run `$ npm install` and `$ npm run build`. Never delete or change the `public` folder!