radian628 / unofficial-desmos-wiki

Unofficial documentation for all the obscure features of Desmos Graphing Calculator. Not endorsed or sponsored by Desmos!
MIT License
6 stars 5 forks source link

MacOS Build Script #2

Open radian628 opened 1 year ago

radian628 commented 1 year ago

My goal with this project is to make it as easy to contribute as reasonably possible. To this end, I want to create build scripts for major platforms so that a contributor doesn't necessarily have to touch the command line. Currently, there exists one for Windows (init.ps1) but we need one for MacOS as well (probably using zsh since that's the default shell there now). Ideally, once you clone the project, this script should:

  1. Install NodeJS and NPM locally (in the repo directory), if necessary.
  2. Install the dependencies with npm install
  3. Run the webserver with npm run serve

As of now I don't intend on making a script for Linux because anyone who decided to use Linux probably knows how to install NodeJS and NPM.