diff options
author | Sean Tilley <sean@DeadSuperHero.com> | 2012-04-18 06:42:23 +0400 |
---|---|---|
committer | Sean Tilley <sean@DeadSuperHero.com> | 2012-04-18 06:42:23 +0400 |
commit | 27513cf31933c769744f128a19b2daff50b5e589 (patch) | |
tree | 0770a9d03e55749f8aca01fbc3678612210ee3da /README.md | |
parent | 37cd6f616edc0e20f9b757fb208b5971ab88229e (diff) |
Simplify instructions for setting up a test environment [ci skip]
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 9 insertions, 15 deletions
@@ -22,29 +22,23 @@ Documentation is available on our [wiki](https://github.com/diaspora/diaspora/wi Here's how you can get a development environment up and running. You can check out system-specific guides [here](https://github.com/diaspora/diaspora/wiki/Installation-Guides). -### Step 1: Clone the repo in your working directory -```git clone git@github.com:diaspora/diaspora.git +### Step 1: Download the script +```wget https://raw.github.com/diaspora/diaspora/ec5289bd3b9b5608d339b28e1e30272f380a9211/script/install.sh ``` -### Step 2: Navigate to your cloned repository -```cd diaspora +### Step 2: Set permissions and run +```chmod +x install.sh && install.sh ``` -### Step 3: Install Bundler and gems (depending on [OS Vendor](https://github.com/diaspora/diaspora/wiki/Installation-Guides)) -``` gem install bundler && bundle install -``` +### Step 3: Follow the instructions -### Step 4: Edit database.yml, and rename application.yml.example to just application.yml -``` cp application.yml.example application.yml - cp database.yml.example database.yml -``` -### Step 5: Create and migrate the database (make sure your database of choice is started!) -```rake db:create && rake db:migrate +### Step 4: Run the test server +```rails s ``` -### Step 6: Start the test server -```rails s +### Step 5: Run tests +```rake tests ``` ## Resources: |