mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Updated deploy, readme and database
This commit is contained in:
parent
fcc4477f68
commit
680fc90e8b
2 changed files with 12 additions and 16 deletions
|
@ -30,7 +30,7 @@ Manual demo install and database setup:
|
||||||
cd /home/registry
|
cd /home/registry
|
||||||
git clone git@github.com:internetee/registry.git demo-registry
|
git clone git@github.com:internetee/registry.git demo-registry
|
||||||
cd demo-registry
|
cd demo-registry
|
||||||
rbenv local 2.1.2
|
rbenv local 2.2.0
|
||||||
bundle
|
bundle
|
||||||
cp config/database-example.yml config/database.yml # and edit it
|
cp config/database-example.yml config/database.yml # and edit it
|
||||||
cp config/secrets-example.yml config/secrets.yml # and edit it, generate key with 'rake secret'
|
cp config/secrets-example.yml config/secrets.yml # and edit it, generate key with 'rake secret'
|
||||||
|
@ -48,7 +48,7 @@ Production install (database schema should be loaded and seeds should be present
|
||||||
# at your local machine
|
# at your local machine
|
||||||
git clone git@github.com:internetee/registry.git
|
git clone git@github.com:internetee/registry.git
|
||||||
cd registry
|
cd registry
|
||||||
rbenv local 2.1.2 # more info about rbenv at debian doc
|
rbenv local 2.2.0 # 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
|
||||||
|
@ -108,7 +108,7 @@ For Apache, registry admin goes to port 443 in production, /etc/apache2/sites-en
|
||||||
DocumentRoot /home/registry/registry/current/public
|
DocumentRoot /home/registry/registry/current/public
|
||||||
|
|
||||||
# Possible values include: debug, info, notice, warn, error, crit,
|
# Possible values include: debug, info, notice, warn, error, crit,
|
||||||
LogLevel info ssl:warn
|
LogLevel info
|
||||||
ErrorLog /var/log/apache2/registry.error.log
|
ErrorLog /var/log/apache2/registry.error.log
|
||||||
CustomLog /var/log/apache2/registry.access.log combined
|
CustomLog /var/log/apache2/registry.access.log combined
|
||||||
|
|
||||||
|
|
|
@ -6,30 +6,26 @@ default: &default
|
||||||
username: registry
|
username: registry
|
||||||
password: registry_pwd
|
password: registry_pwd
|
||||||
|
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: registry_development
|
database: registry_development
|
||||||
|
|
||||||
|
development:
|
||||||
|
<<: *default
|
||||||
|
database: registry_whois_development
|
||||||
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: registry_test
|
database: registry_test
|
||||||
|
|
||||||
|
|
||||||
production:
|
production:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: registry_production
|
database: registry_production
|
||||||
|
|
||||||
development_private_whois:
|
production:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: whois_private
|
database: registry_whois_production
|
||||||
|
|
||||||
development_private_whois:
|
|
||||||
<<: *default
|
|
||||||
database: whois_public
|
|
||||||
|
|
||||||
production_public_whois:
|
|
||||||
<<: *default
|
|
||||||
database: production_whois_public
|
|
||||||
|
|
||||||
production_private_whois:
|
|
||||||
<<: *default
|
|
||||||
database: production_whois_private
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue