Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can put the Drupal site in the web server's document root or your public HTML directory, or you can put a symbolic link there that points to the site.

Code Block
bash> cd ~/kansas
bash> mkdir my_cute_cat
bash> echo "Hello World" > my_cute_cat/hello.txt
bash> cd /libweb/sites/my_cute_catdevelopment.library.cornell.edu/htdocs
bash> ln -s ~/kansas/my_cute_cat kitty

Now http://development.library.cornell.edu/kitty/hello.txtImage Added will show a page containing

Hello World 

You can delete /kansas/my_cute_cat/hello.txt and put the Drupal site there.

Use drush to grab Drupal and some modules

Replace the 'public' directory of your capistrano drupal development directory with a drupal install.

Code Block

bash> cd <your capistrano dev directory>
bash> drush dl drupal-7.23
bash> rm -r public
bash> mv drupal-7.23 public

Install drupal using your new database and user

Code Block

bash> cd public
bash> 
bash>
bash>