Commit 27513cf3 authored by Sean Tilley's avatar Sean Tilley

Simplify instructions for setting up a test environment [ci skip]

parent 37cd6f61
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment