-
Notifications
You must be signed in to change notification settings - Fork 0
Node & npm Setup
The VisualGit project uses both Node and npm for the development of this desktop application. Node is a JavaScript run-time environment that executes JavaScript code outside of a browser while npm is package manager that simplifies the installation of Node packages.
- Install homebrew
- Open terminal and enter
brew update
- this updates homebrew with the latest version of Node - Enter
brew install node
If you do not wish to install homebrew, you can download and install the latest version of Node.js from here. Must be v6.2.1 or later
- Download and install the latest version of Node.js from here. Must be v6.2.1 or later
- Download and install python 2
- Set the environment variable PYTHON to point to the python executable
Run sudo apt-get install npm
in terminal
Run sudo yum install npm
in terminal
Verify installation of node by entering node -v
- this prints the version of node you have
Verify installation of npm by entering npm -v
- this prints the version of npm you have
Before running the project run npm install
in the project directory to install the dependencies of the project. If you run into issues please visit the Troubleshooting page of this wiki.
Otherwise you should be able to run the project by entering npm start
. This runs npm-run-all -p createjs electron:serve
which is given in the package.json of the project.
For full details on how to run the project visit "Running the Project"
Copyright © Team Project Hype-r Phlame. 2019. All Rights Reserved.