hyperdata.it reboot

I believe I've got the #LDAP and #Fuseki setup working. I need it for other stuff but for sanity checking and to to sort out my TODOs it makes sense to line up some of the old hyperdata.it bits against it.

I also need to tidy up this blog setup a bit, I left it hanging somewhat.

Plan

  1. [*] set up monorepo for farelo, trellis...
  2. [*] flip desktop localhost Apache to nginx, configure like server
  3. [*] copy relevant bits of trellis to monorepo
  4. add auth against remote Fuseki
  5. setup Transmissions to deploy

hmm, numbered markdown todos don't seem so good - correct syntax?

1. Monorepo

I got ChatGPT4o to help.

http://localhost/APPS/
danny@danny-desktop:/var/www/html/APPS$
lrwxrwxrwx 1 danny danny   44 Jul  4 15:14 common -> /home/danny/hyperdata/packages/common/public
lrwxrwxrwx 1 danny danny   45 Jul  4 15:14 trellis -> /home/danny/hyperdata/packages/trellis/public

https://hyperdata.it/apps/
root@hyperdata:/var/www/html/apps# ln -s /home/github/hyperdata/packages/common/public common
root@hyperdata:/var/www/html/apps# ln -s /home/github/hyperdata/packages/trellis/public trellis

hmm, 404

nano /etc/nginx/sites-available/hyperdata.it.conf
    location / {
        root /home/www/hyperdata.it;
        index index.html index.htm index.ttl;
                autoindex on;
    }

Ok,

ln -s /var/www/html/apps /home/www/hyperdata.it/apps

2. Apache to nginx


systemctl list-unit-files | grep enabled will list all enabled ones.

If you want which ones are currently running, you need systemctl | grep running.

sudo systemctl stop apache2
sudo systemctl disable apache2

/etc/nginx/sites-available/default


server {
listen 80;
server_name localhost;

    location / {
        root /var/www/html;
        index index.html index.htm index.ttl;
        autoindex on;
    }

}

sudo systemctl reload nginx
sudo tail -f /var/log/nginx/error.log

So far so good.


danny@danny-desktop:/var/www/html$ ls -al **HKMS**
lrwxrwxrwx 1 danny danny 26 Jul 18 2023 **HKMS** -> /home/danny/HKMS/HKMS/src/

Prompts for AI.

I want to create a monorepo for a set of related applications that share some common code. The code will be browser-based HTML, CSS and vanilla JS and nodejs using ES modules. I wish to use the following tools:

  • npm
  • jsdoc
  • chai
  • jasmine The first three apps that will appear in the monorepo are called 'farelo', 'trellis' and 'strandz'. Can you advise on how to set up the monorepo and the tools for these apps, with a good dir structure, following best practices?


hyperdata.it reboot