NMSU Senior Project Spring 2018
Luis M Perez
git clone https://github.com/cyrillegin/seniorProject.git
Change into directory:
Run setup command:
npm run setup
npm install electron
npm run start-server
npm run electron
To create a development build:
npm run startProd - This will transpile and uglyify the project and start a server running on port 3000
To view the site, you can navigate to localhost:3000 in the web browser of your choosing.
To run the application in electron, open a new terminal and run
npm run electron.
To package the project choose one of the following:
npm run build-osx
npm run build-linux
npm run build-win32
npm run start - This will transpile the project and start a development server running on port 3000. Automatic rebuilding will also be enabled so that you don't need to retranspile the entire project on every save.
npm run test Will run all of the linters and tests that are in the test folder.
If you want to see coverage, run
npm run cover. A coverage folder will be created with insights to how well your tests are preforming.
Stand in canoe taken from https://www.turbosquid.com/FullPreview/Index.cfm/ID/622136