From ca30af68232066ea9ed3b1337ce412a491492e63 Mon Sep 17 00:00:00 2001 From: Yedhu Krishnan Date: Tue, 10 Nov 2015 21:12:09 +0530 Subject: [PATCH] Update README.md --- README.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d5eb20b..e07df82 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,43 @@ OneMDM is an open source Mobile Device Management (MDM) solution. OneMDM can man ## Quick start -Work-In-Progress +### Up and Running + +OneMDM server uses PostgreSQL as database. Install PostgreSQL if it is not installed already: + +``` bash +sudo apt-get install postgresql postgresql-contrib postgresql-server-dev-9.3 +``` + +Clone the repo and install the gems: + +``` bash +git clone https://github.com/multunus/onemdm-server.git +cd onemdm-server +bundle install +``` + +Create `database.yml`. And example file is provided in the `config` directory. Also, update the PostgreSQL username and password in the file: + +``` bash +cp config/database.yml.example config/database.yml +``` + +Create and migrate database: + +``` bash +rake db:create +rake db:migrate +``` + +And run the server: + +``` bash +rails s +``` + +You can access the admin dashboard now at [http://localhost:3000/admin](http://localhost:3000/admin) + ## Features