Skip to content

Instantly share code, notes, and snippets.

@ThorstenHans
Last active August 29, 2015 13:55
Show Gist options
  • Save ThorstenHans/8735131 to your computer and use it in GitHub Desktop.
Save ThorstenHans/8735131 to your computer and use it in GitHub Desktop.
Installing yeoman and generator-sharecoffee-addon
# Ensure that nodejs is installed on your system
# Install yeoman globally
npm install yo -g
# on unix systems or macs you should use sudo when installing global packages
sudo npm install yo -g #MAC/LINUX
# Install generator globally
npm install generator-sharecoffee-addon -g
# Create a project directory and go there
mkdir FooBar
cd FooBar
#Invoke yeoman and pass the generator
yo sharecoffee-addon
#execute unit tests
grunt test
#build the addon
grunt build
#build the addon and automatically generate the nuget packge (Windows Only)
grunt default
#or just
grunt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment