Created
May 29, 2017 07:51
-
-
Save fmtarif/536e8b92a8356c574218ee88c37966c9 to your computer and use it in GitHub Desktop.
#linux #angular Test run John papa boilerplate on a droplet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #this is what i needed to do to run the following on a 512MB digitalocean droplet | |
| #https://github.com/johnpapa/generator-hottowel | |
| apt-get update | |
| chmod -R g+rwx /root /root/.config /root/.config/configstore | |
| npm install -g yo | |
| npm install -g gulp bower nodemon generator-hottowel | |
| cd /home | |
| mkdir app | |
| chmod -R g+rwx app | |
| cd app | |
| yo hottowel app | |
| chmod -R g+rwx /root/.npm | |
| npm install | |
| touch /swapfile && fallocate -l 4G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile | |
| swapon -s | |
| free -m | |
| vi /etc/fstab (add this line: /swapfile none swap sw 0 0) | |
| apt-get install git | |
| bower install --allow-root | |
| apt-get install libfontconfig | |
| gulp build | |
| gulp serve-build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment