From e002cd207b9c3dd5ac447e0d9e0610cebe9638f8 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Fri, 2 Jan 2015 13:21:38 +0200 Subject: [PATCH 1/3] updated readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 27a208306..a52210dec 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,12 @@ Manual demo install and database setup: mv config/secrets-example.yml config/secrets.yml # and generate your own key with 'rake secret' rake assets:precompile +Create database manually, example: + + create database registry owner registry encoding 'UTF-8' LC_COLLATE 'et_EE.utf8' LC_CTYPE 'et_EE.utf8' template template0; + rake db:schema:load + rake db:seeds + Production install (requires database is already setuped) # at your local machine @@ -54,12 +60,6 @@ Production install (requires database is already setuped) # at your local machine mina pr deploy # this is command you use in every application code update -Create database manually, example: - - create database registry owner registry encoding 'UTF-8' LC_COLLATE 'et_EE.utf8' LC_CTYPE 'et_EE.utf8' template template0; - rake db:schema:load - rake db:seeds - ### Apache with patched mod_epp (Debian 7/Ubuntu 14.04 LTS) sudo apt-get install apache2 From f34cef4d7d1c722777226011320f4d7f1e412b37 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Fri, 2 Jan 2015 13:23:14 +0200 Subject: [PATCH 2/3] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a52210dec..a08c2f721 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Create database manually, example: rake db:schema:load rake db:seeds -Production install (requires database is already setuped) +Production install (database schema should be loaded and seeds should be present) # at your local machine git clone https://github.com/internetee/EPP-web-client.git eppweb From 7064fc965f68cbcbf2a469ee625b4bc58ee90dd4 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Fri, 2 Jan 2015 14:51:24 +0200 Subject: [PATCH 3/3] added staging to mina --- config/deploy.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/deploy.rb b/config/deploy.rb index 2524a2b48..c85ec4a9d 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -16,6 +16,13 @@ set :deploy_to, '/home/app/registry' set :repository, 'https://github.com/internetee/registry' set :branch, 'master' +# staging +task :st do + set :domain, 'registry-st' + set :deploy_to, '/home/registry/registry' + set :branch, 'master' # temp +end + # production task :pr do set :domain, 'registry'