Apache setup
- Make sure you add a setting for accessing the .htaccess which is within a subfolder of the main project folder
#<Directory /web_root/main_folder/>
#
Statamic setup
- Change environment settings within statamic/_config/environments/*.yaml
- Add .htaccess file to server (we're ignoring it in git)
- Adjust last line of statamic/.htaccess depending on whether you're in a subfolder or not
- Confirm statamic/_cache exists and is set to 777
- Set statamic/_config/_users to 777
- If using prepackaged themes set statamic/assets/_users to 777
Gulp Setup
- Gulp is configured to output files to statamic/_themes/main/. On initial load I'm calling gulp-clean which will clear all directories and then recompile all files. Turn this of off in the gulpfile.js file if you don't want to have your files deleted.
- To use your own custom theme change statamic/_config/settings.yaml theme info to 'main'.