- Download craft from http://buildwithcraft.com/docs/installing
- Use puphpet.com to generate a new server build:
- Shared Folder / Folder Source: ../
- System Packages: htop, curl, vim (because I like having them)
- Nginx Host
- Server Name: craft-demo.dev
- Server Alias: if not needed
- Document Root: /var/www/public
- PHP (5.6)
- install composer
- PHP Modules: cli, intl, mcrypt, imagick, mbstring, curl
- Libraries
- Install Xdebug
- xdebug.ide_key = PHPSTORM
- NPM -- may install it some other time (like for Bower, etc)
- MySQL (5.6)
- Username: craft_user
- Password: 1235
- DB Name: craft_core
- Grant: craft_user, ., ALL
- Install MailCatcher
- HTTP Port 1080, Inline
- mkdir a clean project dir and cd into it
- unzip Craft package
- unzip Puphpet.com zip file
- move randmly named directory from pupphet.com to vagrant
- cd vagrant
- vagrant up
Wait. Seriously. Even with SSD you will wait.
If you want fast initial deploy, go with phansible or Vagrantfile + Bash! - update craft/config/db Update credentials to connect to mysql localhost, root, 123, craft_core, etc
- http://craft-demo.dev/admin
Created
October 8, 2015 16:53
-
-
Save dholmes/3a4dfdf00786b84fc44b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment