Skip to content
/ glue Public

source code for my website homepage/fallback web server

License

Notifications You must be signed in to change notification settings

purarue/glue

Repository files navigation

https://purarue.xyz

Acts a landing page/connects all of my projects.

The home page is a GUI interface, where each 'page' is a window, inspired by old atari/compaq machines.

The ./development_server and ./production_server run this locally/in prod/have a couple extra commands to help me manage approving comments for the guestbook. All run with supervisor by some code here.

Before this iteration of the design, this sort of looked like a geocities website, I extracted a version out of the git history available here

Dashboard

To password protect phoenix dashboard for production; using nginx (after installing apache2-utils)

To generate a password:

sudo htpasswd -c /etc/nginx/.htpasswd username

To protect the route:

location /dashboard/ {
  # should include nginx phoenix params
  # include /etc/nginx/pheonix_params;
  proxy_pass http://127.0.0.1:8082/dashboard/;
  auth_basic "for glue dashboard!";
  auth_basic_user_file /etc/nginx/.htpasswd;
}

Attributions

All the pixel art except the 'save icon' is drawn by me, I found that on gifcities