Skip to content

scottdavis/pearfarm_channel_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

pearfarm_channel_server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published