-
Notifications
You must be signed in to change notification settings - Fork 1
phpchap/BuddyRest
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
BuddyPress with REST Access --------------------------- This application is based on a clone of wordpress (/src/wordpress), within wordpress there is a submodule of BuddyPress (src/wordpress/wp-content/plugins/buddypress) and there is also a submodule of the REST library restler (src/api/lib/restler) there is two parts to this application 1. the main frontend wordpress/buddypress application (setup as www.buddyrest.com) 2. the REST API which includes wp-config from wordpress (setup as api.buddyrest.com) # Installing the application 1) clone the BuddyRest repo git clone git@github.com:phpchap/BuddyRest.git 2) setup the submodules cd BuddyRest # change into project root chmod u+x update_submodules.sh # make the update submodules shell script executable ./update_submodules.sh # run the update submodules shell script 3) run the unit tests to make sure everythings cool phpunit . 4) configure your apache vhosts (ive included my vhost in APACHE_VHOST) 5) setup the wordpress application (you will have to delete and add 'wp-config.php' to .gitignore) or setup your application using my config.. thats it! # ----------------- # Steps i've taken to build this application so far.. mkdir /var/www/php/ # Clone Wordpress GitHub Repo git clone https://github.com/WordPress/WordPress.giti src/wordpress # Added BuddyPress Sub Module git submodule add https://github.com/dxw/buddypress.git src/wordpress/wp-content/plugins/buddypress # Configure Apache vhosts www.buddyrest.com (main frontend wordpress with buddypress installed) api.buddyrest.com (REST application with access to Wordpress) # Install Wordpress 1. Database name: buddyrest 2. Database username: root 3. Database password: root 4. Database host: localhost 5. Table prefix: wp_ site title: buddyrest username: admin password: password email: phpchap@gmail.com # Activate BuddyPress plugin in Wordpress Admin Panel # Run unit tests
About
REST interface to BuddyPress using cloned Wordpress and BP, Restler git submodules
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published