Giter VIP home page Giter VIP logo

blades's Introduction

Blades

WordPress theme for Upstatement.com


Getting started with Development

Requires WPCLI, try brew install wp-cli brew requires homebrew to be installed and assumes OSX http://brew.sh/ if you have brew installed, but it's not working, run brew doctor

1. Create a directory for your work & download WordPress

mkdir [wherever you'd like]/wordpress-blades
cd [whereever]/wordpress-blades
wp core download

2. Install WordPress and connect to the database

wp core config --dbuser=[your db user] --dbpass=[yourpw] --dbname=[your db name]
wp core install

if using MAMP, include a flag for dbhost that looks like this: --dbhost=localhost:/Applications/MAMP/tmp/mysql/mysql.sock

3. Fetch & import the database

  1. get a copy of the database dump you'd like to use (we store lots of these on Dropbox, ask Jared where)
  2. import the database
  • with this one-liner: mysql -u root -phopic0ji wp_blades < [your file here].sql
  • OR with a phpmyadmin import via your MAMP install
  • OR via Sequel Pro, import

4. Install required plugins

wp plugin install advanced-custom-fields --activate
wp plugin install debug-bar --activate
wp plugin install simple-page-ordering --activate
wp plugin install debug-bar-console --activate
wp plugin install debug-bar-timber --activate
wp plugin install timber-library --activate
wp plugin install term-management-tools --activate
wp plugin install https://github.com/Upstatement/chainsaw-share/archive/master.zip
mv wp-content/plugins/chainsaw-share-master wp-content/plugins/chainsaw-share
wp plugin activate chainsaw-share
wp plugin install https://github.com/Upstatement/jigsaw/archive/master.zip
mv wp-content/plugins/jigsaw-master wp-content/plugins/jigsaw
wp plugin activate jigsaw
wp plugin install https://www.dropbox.com/s/trpteyhka1vqwl7/acf-flexible-content.zip --activate
wp plugin install https://www.dropbox.com/s/xko2bru3oiul3yh/acf-options-page.zip --activate
wp plugin install https://www.dropbox.com/s/axhuiewwls3bd2l/acf-repeater.zip --activate

5. Install this theme

This is the blades theme. It will power your site

cd wp-content/themes
git clone [email protected]:Upstatement/blades.git

6. Update Bower + SCSS

cd wp-content/themes/blades
bower install
compass compile

blades's People

Contributors

jarednova avatar nathanhass avatar mswartz avatar t1to98 avatar pkarl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.