Things to remember when setting up a WordPress site on an Apache server
/etc/hosts add local url to 127.0.0.1
/etc/apache2/extra/httpd-vhosts.conf add vhost config for site
- If Wordpress/bedrock the path needs to be the projectfolder/web
| {"lastUpload":"2019-04-03T15:00:53.348Z","extensionVersion":"v3.2.7"} |
| migration_added = git.added_files.include?('db/migrate/*.rb') | |
| schema_modified = git.modified_files.include?('db/structure.sql') | |
| warn 'Migration has been added, but structure.sql has not been modified' if | |
| migration_added && !schema_modified | |
| warn 'Schema has been modified, but no migration has been added' if | |
| schema_modified && !migration_added |
Things to remember when setting up a WordPress site on an Apache server
/etc/hosts add local url to 127.0.0.1
/etc/apache2/extra/httpd-vhosts.conf add vhost config for site
- If Wordpress/bedrock the path needs to be the projectfolder/web