From ffe372cec1cb428f3004189c11c34c4341156e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Mon, 28 May 2018 22:47:34 +0200 Subject: [PATCH] INSTALL.md improvement More explanations about database, dependencies and local execution. --- INSTALL.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 0e805cb..2a06fc2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,12 +1,26 @@ # Installation -## Configuration +## Rails configuration + After cloning this repository, you have to create and edit a few files from example files for your local development configuration : - `config/database.yml` - `config/chexpire.yml` - `config/secrets.yml` +### Database + +You can customize `config/database.yml` for your needs, but by default, Rails is looking for a `chexpire_development` database on localhost. + +### Dependencies + +Execute `# bundle install` to install Ruby dependencies. +Execute `# yarn install` to install Javascript dependencies. + +### Local execution + +If you want to start the Rails application manually, with a simple Puma configuration, you have to execute `# bundle exec rails server`. + ## Deployment **staging** and **production** environments are preconfigured.