Open Source Cloud Accounting - Docker Container Marketplace http://www.sobehub.com
This application requires:
Run the following commands in your terminal / console:
git@github.com:osvaldomeirino/sobeBooks.git
cd sobeBooks
Run the instructions below if you didn't had ruby-2.2.2 installed.
End instructions
bundle install
[Run this if there is an error on 'bundle install' command]
config/application.example.yml
to config/application.yml
and set all the required variable values (admin user info and database username/password etc
).config/database.example.yml
to config/database.yml
(Ubuntu: sudo service postgres start)
[A dummy user will be created using data added in
config/application.ymlfile above]
rails server
http://localhost:3000
Run the following commands in your terminal / console:
ref: https://docs.docker.com/compose/install/#alternative-install-options
2.Docker ex: yum install docker ref: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7
Check the below version on which application is deployed successfully by below commands:
**Output: docker-compose version 1.9.0, build 2585387
$ docker -v
**Output Docker version 1.12.6, build 1398f24/1.12.6
Clone codebase on your machine
Move to project directory
cd SobeBooks_rb
Rename config/application.example.yml
to config/application.yml
and set all the required variable values (admin user info and database username/password etc
).
db_host
should be set to db. (please read the instructions in
application.yml)
Rename config/database.example.yml
to config/database.yml
To build and up the docker-container execute below commands.
cmd:[To build the container and bring up the container]
cmd:[To check the logs ]
[To check the process of container]
cmds : ref
//docs.docker.com/compose/reference/
http://localhost:3000