From EWBTechies Wiki
[edit] Dev Environment
- Setup development flow
- Write to the web root
- Access the mysql database
- Access SVN
[edit] Instructions
- Login to your chosen development environment (localhost or remote)
- enable drupal-dev-1.your.server and durpal-dev-2.your.server
- configuring dns (local: /etc/hosts ; remote: dns server)
- point the dns' to a directory (virtual hosts in apache conf)
- make drupal-dev-1.your.sever say "Hello World 1" and make drupal-dev-2.your.server say "Hello World 2"
- Access mysql from the command line
- mysql -u username -ppassword databasenam
- Install Drupal on drupal-dev-1and drupal-dev-2
- Download the most recent version of drupal from drupal.org
- Follow instructions on http://drupal.org/getting-started/install
- Explore Drupal
- Be sure to go to http://drupal-dev-1.your.server/admin
- Download the drupal admin module
- Find the admin module for drupal 6 on drupal.org
- Install the module to sites/all/modules
- Enable the module at http://drupal-dev-1.your.server/admin/build/modules
- Revisit http://drupal-dev-1.your.server/admin and see the difference!
- Put Drupal on revision control
- svn import
- Setup an svn repository in your home directory
svnadmin create drupal-dev-1
svn import drupal-dev-1 file:///Users/YOURNAME/svn_repos/drupal-dev-1
mv drupal-dev-1 drupal-dev-1_original
svn co file:///Users/YOURNAME/svn_repos/drupal-dev-1