Simplify instructions for setting up a test environment [ci skip]
This commit is contained in:
parent
37cd6f616e
commit
27513cf319
1 changed files with 10 additions and 16 deletions
26
README.md
26
README.md
|
|
@ -22,31 +22,25 @@ 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).
|
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
|
### Step 1: Download the script
|
||||||
```git clone git@github.com:diaspora/diaspora.git
|
```wget https://raw.github.com/diaspora/diaspora/ec5289bd3b9b5608d339b28e1e30272f380a9211/script/install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: Navigate to your cloned repository
|
### Step 2: Set permissions and run
|
||||||
```cd diaspora
|
```chmod +x install.sh && install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 3: Install Bundler and gems (depending on [OS Vendor](https://github.com/diaspora/diaspora/wiki/Installation-Guides))
|
### Step 3: Follow the instructions
|
||||||
``` gem install bundler && bundle install
|
|
||||||
```
|
|
||||||
|
|
||||||
### 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!)
|
### Step 4: Run the test server
|
||||||
```rake db:create && rake db:migrate
|
|
||||||
```
|
|
||||||
|
|
||||||
### Step 6: Start the test server
|
|
||||||
```rails s
|
```rails s
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Step 5: Run tests
|
||||||
|
```rake tests
|
||||||
|
```
|
||||||
|
|
||||||
## Resources:
|
## Resources:
|
||||||
|
|
||||||
- [Wiki](https://github.com/diaspora/diaspora/wiki)
|
- [Wiki](https://github.com/diaspora/diaspora/wiki)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue