Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOMS-209 change INSTALL.md #147

Merged
merged 1 commit into from
Aug 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

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

#### In production
Expand Down