top of page

Revision

Week 9

I felt a little lost while doing the nginx assignment and was not entirely sure how things were working. I decided to take the Sunday to try and revisit some of the concepts covered in class. I wanted to go through the process again and revisit some concepts so I'm better equipped to build my final project.

I started by trying to run my first p5 sketch at ITP (my self-portrait) and was able to get that running.

Screenshot 2024-11-06 at 3.53.31 PM.png

A part of my final concept was to create a digital space for productive arguments and wanted to visualize the number of people who are connected to the website and are active on the website. 

To initially test this out, I thought I could use a part of my project from last semester - Headlines from the Future (TRIGGER WARNING). The basic idea was that the sketch generated headlines and the degree of positivity increased as more people interacted with it. So I wanted to use the number of people who had the site opened to control the type of headlines being generated.

Before doing that, I wanted to try running one of the 3js projects I made. I tried following the same steps but ran into some errors. I later realized that the code I remembered was run using vite and the code uses document objects. I wasn't sure how to modify the code to change it right now since I'm only beginning to learn 3js so I decided to move on to the next step.

Screenshot 2024-11-06 at 4.39.02 PM.png

I tried to work on the microservices assignment. But when I added the new server block, my website didn't work anymore. I couldn't figure out what went wrong so I decided to start from scratch by setting up a new droplet on digitalocean.

A good thing about this was I figured out why I wasn't able to login the to the droplet I created last time. I typed in dropletname@ipaddress instead of root@ipaddress. Repeating the process helped with figuring out what went wrong last time.

I tried setting up my headlines from the future project again and was able to get it running. I was able to generate headlines on my website.

But when I got to the microservices assignment and tried adding the server block again, my website stopped working again. (same screen as above)

Since it stopped working at this point both times, I assumed that the the part where I was creating a link is what caused the issue.

Screenshot 2024-11-06 at 4.46.27 PM.png
Screenshot 2024-11-06 at 4.49.26 PM.png

I looked into the details of this error and it pointed to a specific line in the config file. I went into the config file and looked for the line and found that it was sites-enabled/*

I this point I assumed that the links I created might be interfering or clashing with each other somehow so I decided to delete the links I created and create the link again. But it still didn't work. I tried deleting all the files I created to go back to the last place it was working. 

Screenshot 2024-11-06 at 4.50.40 PM.png

Although I was able to go through the steps without errors I got last time, the website still wasn't running. I set my TTL for half an hour so I checked again after that time but it still wasn't running. I'm probably going to create a new droplet and start from scratch again. But I don't understand what is going wrong when I try to set up the microservices. During my office hours, I learned that it might be because of the period(.) in my root name that is causing the issues. So this time I'll try naming my files differently.

Screenshot 2024-11-06 at 4.52.09 PM.png
bottom of page