Skip to content

Commit

Permalink
HOMS-209 change INSTALL.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nprokhorov committed Aug 13, 2018
1 parent 13a3a63 commit 469108d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
38 changes: 21 additions & 17 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,50 +110,44 @@ Follow [RVM installation guide](https://rvm.io/rvm/install).
```bash
git clone https://github.com/latera/homs.git
```
2. Install ruby:
2. Change directory
```bash
cd homs
```
3. Install ruby:

```bash
rvm install ruby-2.5.1
```
3. Create homs RVM gemset:
4. Create homs RVM gemset:

```bash
rvm use ruby-2.5.1@homs --create
```
4. Install bundler:
5. Install bundler:

```bash
gem install bundler
```
5. Install gems:
6. Install gems:

```bash
bundle --without oracle
```
6. Make configs from samples:
7. Make configs from samples:

```bash
find config -name '*.sample' | xargs -I{} sh -c 'cp $1 ${1%.*}' -- {}
```
7. Run migrations:

```bash
bundle exec rake db:migrate
```
8. Fill db with test data:

```bash
bundle exec rake db:seed
```
9. Update base_url of activiti service in config/activiti.yml
8. Update base_url of activiti service in config/activiti.yml

```
development:
base_url: http://<replace-host-name-here>:8080/activiti-rest/service/
login: user
password: changeme
```
10. Update host of database in config/database.yml
9. Update host of database in config/database.yml

```
<environment-name-here>:
Expand All @@ -165,6 +159,16 @@ Follow [RVM installation guide](https://rvm.io/rvm/install).
username: homs
password: homs
```
10. Run migrations:

```bash
bundle exec rake db:migrate
```
11. Fill db with test data:

```bash
bundle exec rake db:seed
```

### Run homs

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Resources:

There are 2 ways to install HOMS.

The prefered way to install homs is to use docker (manual installation is more applicable for development)

### Using [docker](https://www.docker.com/)

#### In production
Expand Down

0 comments on commit 469108d

Please sign in to comment.