Client and server logic of the graycraft.me website.
Bash ^5.0.0:
$ bash --version
GNU bash, version 5.1.16(1)-release
Node.js 22.11.0:
$ node -v
v22.11.0
NPM 10.9.0:
$ npm -v
10.9.0
$ sudo apt-get install build-essential libcairo2-dev libgif-dev libjpeg-dev libpango1.0-dev librsvg2-dev
https://www.npmjs.com/package/canvas
Clone the Git repository:
$ git clone <gh|https|ssh>graycraft/me.git
Use appropriate Node.js version:
$ nvm use
Install modules for usage:
$ npm i --production
Install modules for development:
$ npm i
Optionally NODE_NO_WARNINGS
can be exported from .env
file to silence process warnings regarding experimental features.
This command also enables --experimental-vm-modules
option for running Jest with ESM:
$ export $(cat .env.production | xargs)
Run production server script:
$ npm start