Compare commits
No commits in common. "11a96f4091393d9da3198069dd07f1fc41d562b9" and "7958a9311dca1a2c71f4c2606a910733430e1e6d" have entirely different histories.
11a96f4091
...
7958a9311d
22
README.md
22
README.md
@ -22,25 +22,3 @@
|
|||||||
- Rust: `cargo check`
|
- Rust: `cargo check`
|
||||||
- Tera files: `djlint **.html.tera --profile=jinja --reformat`
|
- Tera files: `djlint **.html.tera --profile=jinja --reformat`
|
||||||
- Typescript: `prettier -w *.ts`
|
- Typescript: `prettier -w *.ts`
|
||||||
|
|
||||||
# Dependencies
|
|
||||||
- `sqlite3`
|
|
||||||
- `rust`
|
|
||||||
|
|
||||||
# Nginx config
|
|
||||||
|
|
||||||
```
|
|
||||||
server {
|
|
||||||
server_name staging.rudernlinz.at;
|
|
||||||
location / {
|
|
||||||
proxy_pass http://localhost:7999/; # The / is important!
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
server_name app.rudernlinz.at;
|
|
||||||
location / {
|
|
||||||
proxy_pass http://localhost:8001/; # The / is important!
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
@ -4,15 +4,12 @@ Description=Rot
|
|||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
WorkingDirectory=/home/rowing
|
WorkingDirectory=/home/philipp/rowing
|
||||||
Environment="ROCKET_ENV=prod"
|
Environment="ROCKET_ENV=prod"
|
||||||
Environment="ROCKET_ADDRESS=127.0.0.1"
|
Environment="ROCKET_ADDRESS=127.0.0.1"
|
||||||
Environment="ROCKET_PORT=8001"
|
Environment="ROCKET_PORT=8001"
|
||||||
Environment="RUST_LOG=info"
|
Environment="RUST_LOG=info"
|
||||||
ExecStart=/home/rowing/rot
|
ExecStart=/home/k004373/rowing/rot
|
||||||
Restart=always
|
|
||||||
RestartSec=10
|
|
||||||
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -4,14 +4,12 @@ Description=Rot Staging
|
|||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
WorkingDirectory=/home/rowing-staging
|
WorkingDirectory=/home/philipp/rowing-staging
|
||||||
Environment="ROCKET_ENV=prod"
|
Environment="ROCKET_ENV=prod"
|
||||||
Environment="ROCKET_ADDRESS=127.0.0.1"
|
Environment="ROCKET_ADDRESS=127.0.0.1"
|
||||||
Environment="ROCKET_PORT=7999"
|
Environment="ROCKET_PORT=7999"
|
||||||
Environment="ROCKET_LOG=info"
|
Environment="ROCKET_LOG=info"
|
||||||
ExecStart=/home/rowing-staging/rot
|
ExecStart=/home/philipp/rowing-staging/rot
|
||||||
Restart=always
|
|
||||||
RestartSec=10
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user