https://github.com/dbtlr/booktrackr
https://github.com/dbtlr/booktrackr
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dbtlr/booktrackr
- Owner: dbtlr
- Created: 2015-09-07T23:34:44.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-21T04:24:48.000Z (over 10 years ago)
- Last Synced: 2025-04-19T10:08:43.347Z (about 1 year ago)
- Language: JavaScript
- Size: 527 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BookTrackr
---
> This application is based on the [React Redux Hot Loader Bootstrap](https://github.com/erikras/react-redux-universal-hot-example) project.
## Setting up the WordPress Host.
In order to get this application set up, it needs to have a WordPress host set as an API backend. to do this, you need to do a few things.
First, ensure the following plugins are loaded.
1. [WP-API v2](https://wordpress.org/plugins/rest-api/)
2. [OAuth](https://github.com/WP-API/OAuth1)
3. [Booktrackr Plugin](https://github.com/dbtlr/booktrackr-plugin)
You also need to follow the instructions to install the wp-cli on your wordpress host. This is needed in order to add an OAuth client key, which will be needed in order to connect.
[Follow those instructions here](http://wp-cli.org/).
Once this has been done, you need to generate your oauth tokens by running the `wp oauth1 add` command as detailed here: https://github.com/WP-API/client-cli#step-1-creating-a-consumer
Make sure you save the client key AND secret, as you'll need them later.
## Installation
```
npm install
```
## Run the Base Setup Script
This will configure either your local environment or the server it is on with how to connect to the base WordPress backend.
```
npm run setup
```
you will then be asked to provide the OAuth Client Key, OAuth Client Secret, and the url to the WordPress API.
## Running Dev Server
```
npm run dev
```