Skip to content

Instantly share code, notes, and snippets.

@jeremyfelt
Created March 19, 2013 16:38
Show Gist options
  • Save jeremyfelt/5197716 to your computer and use it in GitHub Desktop.
Save jeremyfelt/5197716 to your computer and use it in GitHub Desktop.
1. Site files in www/mynewsite
2. SQL dump (if needed) in database/backups/database_name.sql
3. CREATE DATABASE and GRANT PRIVILEGES statements for new DB name in database/init-custom.sql
4. nginx config at /config/nginx-config/sites/my.site.name.conf
5. nginx config should have a unique server name and point to the www/mynewsite directory
6. vagrant reload
7. edit hosts file to point 192.168.50.4 to my.site.name
@TheLastCicada
Copy link

  1. Copy /config/nginx-config/sites/local.wordpress.dev.conf to /config/nginx-config/sites/my.site.name.conf
  2. /config/nginx-config/sites/my.site.name.conf should have a unique server name and point to the www/mynewsite directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment