You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide will help you set up uWSGI on your server to run the items rest app. Go to the items-rest directory we created in the previous lecture.
3
+
4
+
```bash
5
+
cd /var/www/html/items-rest
6
+
```
7
+
8
+
### Create Ubuntu service
9
+
Run the following command to create a service file.
10
+
11
+
```bash
12
+
sudo vi /etc/systemd/system/uwsgi_items_rest.service
13
+
```
14
+
15
+
Copy and paste the following to the file. Note "jose:1234" is the username:password combination of the Postgres user we created before. Change yours accordingly.
0 commit comments