#cheat sheet for random BASH Stuff Safe reference for random commands. I will break this up into a better guide in the near future.
#Heroku commands
| Commands | Description |
|---|---|
| heroku local web | Run the app locally |
| git push heroku master | Deploy to Heroku |
| heroku open | open Browser with app location from command line |
| Commands | Description |
|---|---|
| npm install | installs all items in package.json |
| npm install repoName | installs repo from npm |
| npm uninstall repoName --save-dev | removes from package.json and uninstalls |
| npm init | walk you through making a package.json with prompts |
#git commands
| Commands | Description |
|---|---|
| git commit --amend -m "New commit message" | change last commit message |
#Sass commands
| Commands | Description |
|---|---|
| sass --watch file.scss:dir/location/file.css | This command watches your SASS file and compiles everytime you save |
| sass --watch --style expanded file.scss:file.css | This command formats your CSS like a normal human |
| sass --watch --style compact file.scss:file.css | This compresses rules into one line |
| sass --watch --style compressed file.scss:file.css | Don't even use minify with gulp |
#Apache commands
| Commands | Description |
|---|---|
| sudo apachectl start | To start it |
| sudo apachectl stop | To stop it |
| sudo apachectl restart | To restart it |