#Setting up the server
-
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
-
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>
-
Install nimblize in your php path or in the config directory (http://github.com/jetviper21/nimblize)
-
Make sure you set up the database info in the database.json files config/development/database.json config/test/database.json
-
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
-
Run the tests phpunit test to make sure everything is working on your system
-
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/)