/ Published in: Ruby
The Ruby script below helps me install CodeIgniter & automatically restructure the application directory to allow multiple apps in a single CI install.
I've left out the core index file for CI since it requires some hacking to permit multiple applications.
Expand |
Embed | Plain Text
# # install.rb # `cd ..` puts "Downloading CodeIgniter..." `svn checkout http://dev.ellislab.com/svn/CodeIgniter/trunk/system/` puts "Cleaning default application directory..." `rm -rf system/application/` puts "Creating application directories for Roadie..." `svn export http://dev.ellislab.com/svn/CodeIgniter/trunk/system/application system/application/dev` `mkdir system/application/test` `mkdir system/application/live
You need to login to post a comment.
