pearfarm_channel_server
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
assets
config
db/migrations
lib
public
script
tasks
test
.gitignore
.htaccess
.plowfile
README.markdown
phpunit.xml

README.markdown

#Setting up the server

  1. Modify your host file add these lines 127.0.0.1 joe.localhost.com 127.0.0.1 jim.localhost.com 127.0.0.1 bob.localhost.com 127.0.0.1 steve.localhost.com

  2. Setup a vhost NameVirtualHost 127.0.0.1:80

         <VirtualHost 127.0.0.1:80>
     		ServerName localhost.com
             ServerAlias *.localhost.com
             DocumentRoot /path/to/pearfarm_channel_server
         </VirtualHost>
    
  3. Install nimblize in your php path or in the config directory (http://github.com/jetviper21/nimblize)

  4. Make sure you set up the database info in the database.json files config/development/database.json config/test/database.json

  5. Run these scripts from the app root to load the database and test data script/db create NIMBLE_ENV=test script/db create script/db migrate NIMBLE_ENV=test script/db migrate script/db stories load NIMBLE_ENV=test script/db stories load

  6. Run the tests phpunit test to make sure everything is working on your system

  7. Navagate to localhost.com in your browser 8 . Note: nimble has a bunch of CLI commands see (http://github.com/jetviper21/nimblize/tree/master/nimble_scripts/)

http://pear.php.net/manual/en/core.rest.php