mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Merge branch 'master' of github.com:internetee/registry
This commit is contained in:
commit
9713053f31
1 changed files with 14 additions and 8 deletions
22
README.md
22
README.md
|
@ -32,9 +32,10 @@ Manual demo install and database setup:
|
||||||
cd demo-registry
|
cd demo-registry
|
||||||
rbenv local 2.1.2
|
rbenv local 2.1.2
|
||||||
bundle
|
bundle
|
||||||
mv config/database-example.yml config/database.yml # and update it
|
cp config/database-example.yml config/database.yml # and edit it
|
||||||
mv config/secrets-example.yml config/secrets.yml # and generate your own key with 'rake secret'
|
cp config/secrets-example.yml config/secrets.yml # and edit it, generate key with 'rake secret'
|
||||||
rake assets:precompile
|
cp config/initializers/devise_secret_example.rb.txt config/initializers/devise_secret.rb # and edit
|
||||||
|
bundle exec rake assets:precompile
|
||||||
|
|
||||||
Create database manually, example:
|
Create database manually, example:
|
||||||
|
|
||||||
|
@ -45,15 +46,20 @@ Create database manually, example:
|
||||||
Production install (database schema should be loaded and seeds should be present)
|
Production install (database schema should be loaded and seeds should be present)
|
||||||
|
|
||||||
# at your local machine
|
# at your local machine
|
||||||
git clone https://github.com/internetee/EPP-web-client.git eppweb
|
git clone git@github.com:internetee/registry.git
|
||||||
cd eppweb
|
cd registry
|
||||||
rbenv local 2.1.2
|
rbenv local 2.1.2 # more info about rbenv at debian doc
|
||||||
gem install mina
|
gem install mina
|
||||||
mina pr setup # one time, only creates missing directories
|
mina pr setup # one time, only creates missing directories
|
||||||
ssh registry
|
ssh registry
|
||||||
|
|
||||||
# at your server
|
# at your server
|
||||||
vi registry/shared/config/database.yml # add production database conf
|
cd registry
|
||||||
vi registry/shared/config/secrets.yml # add secret file (example: secrets-example.yml)
|
cp current/config/database-example.yml shared/config/database.yml # and edit it
|
||||||
|
# You can generate secret keys with 'bundle exec rake secret'
|
||||||
|
cp current/config/secrets-example.yml shared/config/secrets.yml # and edit it
|
||||||
|
cp current/config/initializers/devise_secret_example.rb.txt shared/config/initializers/devise_secret.rb # and edit it
|
||||||
|
|
||||||
vi /etc/apache2/sites-enabled/registry.conf # add conf and all needed serts
|
vi /etc/apache2/sites-enabled/registry.conf # add conf and all needed serts
|
||||||
vi /etc/apache2/sites-enabled/epp.conf # add epp conf, restart apache
|
vi /etc/apache2/sites-enabled/epp.conf # add epp conf, restart apache
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue