Skip to content

Install Instructions - Ubuntu 20.04 #2

Description

@Jieiku

Ubuntu 20.04 install instructions:

sudo apt-get update
sudo apt install git curl gcc g++ make libjpeg-dev

sudo apt install ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils

curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt -y install nodejs

git clone https://github.com/YellowLabTools/YellowLabTools
git clone https://github.com/YellowLabTools/YellowLabTools-server
cd YellowLabTools-server
npm install
node bin/server.js

This has everything working for me except for the screenshot.

There is also a discrepancy, the online tool https://yellowlab.tools/ shows CSS complexity: Complex selectors count for those with 4 or more. (as the page description says)

but the self hosted version appears to be doing 3 or more despite the page description saying 4 or more.

EDIT: here is my simple service file to run it automatically:

[Unit]
Description=YellowLabTools Server
After=network.target

[Service]
Type=simple
User=ylt
Group=ylt
RemainAfterExit=yes
ExecStart=/usr/bin/node /home/ylt/YellowLabTools-server/bin/server.js

[Install]
WantedBy=default.target

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions