- Fork our orchestra-io/example-wordress repo and clone it to your local machine. Note: please ensure that your fork is private as you will be adding DB credentials!
- Add any additional plugins or themes you want.
- Sign up for a free MySQL database (We recommend Xeround's).
- Copy wp-config-sample.php to wp-config.php, edit the database details and change the "Authentication Keys and Salts" (You can generate these using Wordpress' API).
- Open a terminal and navigate to the Wordpress directory on your local machine. Then run:
- git add .
- git commit -am "Added extra themes, plugins and modified config"
- git push origin master
- Deploy your wordpress repo as a basic or elastic app on Orchestra. Ensure the index file is set to
index.php
instead of the defaultpublic/index.php
. - Visit your newly deployed app and complete the installation process, which will setup your database.
- Enable the 'Amazon S3 for Wordpress', 'Orchestra.io Upload to Temp' and 'WP-Mail-SMTP' plugins.
- We suggest you configure better permalink structures. Go to Settings -> Permalinks, choose Custom permalinks and add: /%year%/%monthnum%/%day%/%postname%/ . Ignore the .htaccess warning as we use Nginx.
- Go to S3 and add a bucket. Click properties, then add more permissions. Allow authenticated users all permissions and everyone view permissions. Configure in Wordpress S3 settings. Note: You must have an S3 bucked created before adding credentials to settings.
- Host name settings: unchecked
- File uploads: checked
- Expire header: checked
- File permissions: checked
- Setup a free SMTP account (We recommend SendGrid) and configure it in Settings -> Email.
- Done!
- Plugins, themes and updates cannot be done using Wordpress' internal system.