Skip to content

A Meal Planner to figure out what we are going to eat each week. Written with Razor Pages and HTMF. https://meals.jnyman.com/

Notifications You must be signed in to change notification settings

jon49/MealPlanner

Repository files navigation

Install SDK on server:
https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian

adduser <user>
usermod -aG sudo <user>

Login under the new user name.

sudo apt install rsync
sudo mkdir -p /var/www/meal-planner
sudo chown -R <user>:<user> /var/www
sudo chmod -R /var/www

Create certificates

sudo certbot --nginx

Run at solution level

dotnet publish -c Release -r linux-x64 --self-contained false

rsync

Run from WSL2. Add n to list for a dry-run and see what will be synced

rsync -av ./path/to/app <username>@<ip-address>:<target directory>

Restart nginx (test to make sure it is OK then restart)

sudo nginx -t
sudo nginx -s reload

About

A Meal Planner to figure out what we are going to eat each week. Written with Razor Pages and HTMF. https://meals.jnyman.com/

Resources

Stars

Watchers

Forks

Packages

No packages published