Deployment
Deploy Sqlite Database
If you are not using SQLite, you can skip this section.
Let's create a directory to store the database separately from the API.
sudo mkdir /var/www/apps/shipdotnet-db
... now upload your database.db file to the directory you just created:
Next, apply the correct permissions so the API can read and write to the database:
sudo chown -R www-data:www-data /var/www/apps/shipdotnet-db/
sudo chmod 664 /var/www/apps/shipdotnet-db/database.db*
sudo chmod 775 /var/www/apps/shipdotnet-db/
Next:
Deploy API