-
Notifications
You must be signed in to change notification settings - Fork 0
Basic installation
These instructions are basic and probably not for the faint hearted. You have been warned.
-
Step 1: Download and install WordPress.
-
Step 2: Create a new directory (with any name you want!) in the
wp-content/themes
directory and clone the severnbronies/severnbronies-2016 repo into it. -
Step 3: Clone the severnbronies/severnbronies-plugins-2016 repo into the
wp-content/plugins
directory. -
Step 4: In the WordPress admin interface, go to
Plugins > Add New
, click on the Favourites tab at the top of the page and use the WordPress.org username 'severnbronies' to get a list of our third-party plugins. Install them. (Disclaimer: You only need the Advanced Custom Fields plugins for functionality, the others are just useful.) -
Step 5: Dump a bunch of configuration options somewhere as PHP constants. The
wp-config.php
file in the WordPress root would make sense for this. Quick links to registration/API key getting pages: Google Analytics, Google Maps, Facebook, Twitter, Tumblr API
// For the site
define('GOOGLE_ANALYTICS_ID', 'UA-XXXXXXXX-X');
define('GOOGLE_MAPS_API_KEY', 'XXXXXXXXXX');
// For the social feed plugin
define('FACEBOOK_APP_ID', 'XXXXXXXXXX');
define('FACEBOOK_APP_SECRET', 'XXXXXXXXXX');
define('TWITTER_OAUTH_TOKEN', 'XXXXXXXXXX');
define('TWITTER_OAUTH_SECRET', 'XXXXXXXXXX');
define('TWITTER_CONSUMER_KEY', 'XXXXXXXXXX');
define('TWITTER_CONSUMER_SECRET', 'XXXXXXXXXX');
define('TUMBLR_API_KEY', 'XXXXXXXXXX');
-
Step 6: In WordPress, activate the 'Severn' theme and all of the plugins you've just installed.
-
Step 7: That's it(?)
If you have any questions then raise it in the issue tracker and we might be able to help you. If you use this code for anything other than dicking around then a small acknowledgement would be appreciated. Thanks and have fun!