Here's a list of setup stuff you need to do after firing up that fresh new Ubuntu Vagrant VM...
NOTE to everyone, this gist is just something written for my situation and some of the stuff may be irrelevant, useless, or might break stuff for you!
-
Note: If you are using a third party email exchange (eg. Google Apps / Gmail), do NOT set the Fully Qualified Domain Name (FQDN) to the domain name of the server. Eg. if the Gmail addresses are [email protected], do not make the FQDN "foobar.com" (unless of course you want Postfix to become your primary email server). Set it to some dummy name instead like "barfoo". That way, Wordpress emails won't get trapped in Postfix, and they'll never reach the Gmail account associated with your domain name.
-
sudo apt-get update
-
LAMP Stack:
sudo tasksel
->Install LAMP Server
-
Utilities:
sudo apt-get install zsh curl build-essential libssl-dev phpmyadmin nasm git php5-gd htop figlet exuberant-ctags
-
Additional PHPMyAdmin setup may be required: https://help.ubuntu.com/community/phpMyAdmin
-
Install Monit server monitor: DigitalOcean Documentation & custom monitrc file settings.
- RVM & Ruby: Installation
- Use this command to install Sass Gems:
\curl -sSL https://get.rvm.io | bash -s stable --ruby --gems=compass,sass,bootstrap-sass
- NVM: Installation then run '''nvm alias default stable'''
- Node.JS (includes NPM): Installation - Read "How To Install Using NVM"
- Bower: Installation
- Gulp: Installation
- Grunt (if needed): Installation
- WP-CLI (for Wordpress management): Installation
- Increase PHP memory / upload size settings
- Enable CORS to make web fonts work properly. You may need to specify the following variation to make it work in your Apache2 config file.
- Install oh-my-zsh
- Install Antigen
- Install Liquid Prompt and follow the config file setup directions
- AutoMYSQLBackup: Installation
Automated script FTW: https://github.com/drawcard/new-wp-setup
gulp build
# Check the front end website for any display issues
git add .
git commit -m "First commit"
bower install [fullpage.js] --save # Script example name: fullpage.js
gulp build
# Refresh site in browser window and in Chrome Inspector > Sources check to see JS / CSS has loaded.