mirror of
https://github.com/internetee/registry.git
synced 2025-08-11 20:19:34 +02:00
Fix doc
This commit is contained in:
parent
292590cbbf
commit
8321f894d5
1 changed files with 26 additions and 26 deletions
52
README.md
52
README.md
|
@ -20,8 +20,8 @@ Documentation
|
||||||
|
|
||||||
### Updating documentation
|
### Updating documentation
|
||||||
|
|
||||||
AUTODOC=true rspec spec/requests
|
AUTODOC=true rspec spec/requests
|
||||||
EPP_DOC=true rspec spec/epp --tag epp --require support/epp_doc.rb --format EppDoc > doc/epp-examples.md
|
EPP_DOC=true rspec spec/epp --tag epp --require support/epp_doc.rb --format EppDoc > doc/epp-examples.md
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
@ -32,41 +32,41 @@ Registry based on Rails 4 installation (rbenv install is under Debian build doc)
|
||||||
|
|
||||||
Manual demo install and database setup:
|
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.2.2
|
rbenv local 2.2.2
|
||||||
bundle
|
bundle
|
||||||
cp config/application-example.yml config/application.yml # and edit it
|
cp config/application-example.yml config/application.yml # and edit it
|
||||||
cp config/database-example.yml config/database.yml # and edit it
|
cp config/database-example.yml config/database.yml # and edit it
|
||||||
bundle exec rake db:all:setup # for production, please follow deployment howto
|
bundle exec rake db:all:setup # for production, please follow deployment howto
|
||||||
bundle exec rake assets:precompile
|
bundle exec rake assets:precompile
|
||||||
|
|
||||||
### Apache with patched mod_epp (Debian 7/Ubuntu 14.04 LTS)
|
### Apache with patched mod_epp (Debian 7/Ubuntu 14.04 LTS)
|
||||||
|
|
||||||
sudo apt-get install apache2
|
sudo apt-get install apache2
|
||||||
|
|
||||||
sudo apt-get install apache2-threaded-dev # needed to compile mod_epp
|
sudo apt-get install apache2-threaded-dev # needed to compile mod_epp
|
||||||
wget sourceforge.net/projects/aepps/files/mod_epp/1.10/mod_epp-1.10.tar.gz
|
wget sourceforge.net/projects/aepps/files/mod_epp/1.10/mod_epp-1.10.tar.gz
|
||||||
tar -xzvf mod_epp-1.10.tar.gz
|
tar -xzvf mod_epp-1.10.tar.gz
|
||||||
cd mod_epp-1.10
|
cd mod_epp-1.10
|
||||||
|
|
||||||
Patch mod_epp for Rack. Beacause Rack multipart parser expects specifically
|
Patch mod_epp for Rack. Beacause Rack multipart parser expects specifically
|
||||||
formatted content boundaries, the mod_epp needs to be modified before building:
|
formatted content boundaries, the mod_epp needs to be modified before building:
|
||||||
|
|
||||||
wget https://github.com/internetee/registry/raw/master/doc/patches/mod_epp_1.10-rack-friendly.patch
|
wget https://github.com/internetee/registry/raw/master/doc/patches/mod_epp_1.10-rack-friendly.patch
|
||||||
wget https://raw.githubusercontent.com/domify/registry/master/doc/patches/mod_epp_1.10-frame-size.patch
|
wget https://raw.githubusercontent.com/domify/registry/master/doc/patches/mod_epp_1.10-frame-size.patch
|
||||||
patch < mod_epp_1.10-rack-friendly.patch
|
patch < mod_epp_1.10-rack-friendly.patch
|
||||||
patch < mod_epp_1.10-frame-size.patch
|
patch < mod_epp_1.10-frame-size.patch
|
||||||
sudo apxs2 -a -c -i mod_epp.c
|
sudo apxs2 -a -c -i mod_epp.c
|
||||||
|
|
||||||
Enable ssl:
|
Enable ssl:
|
||||||
|
|
||||||
sudo a2enmod proxy_http
|
sudo a2enmod proxy_http
|
||||||
sudo mkdir /etc/apache2/ssl
|
sudo mkdir /etc/apache2/ssl
|
||||||
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
|
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
|
||||||
sudo a2enmod ssl
|
sudo a2enmod ssl
|
||||||
sudo nano /etc/apache2/sites-enabled/epp_ssl.conf
|
sudo nano /etc/apache2/sites-enabled/epp_ssl.conf
|
||||||
|
|
||||||
For Apache, registry admin goes to port 443 in production, /etc/apache2/sites-enabled/registry.conf short example:
|
For Apache, registry admin goes to port 443 in production, /etc/apache2/sites-enabled/registry.conf short example:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue