This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== Ralph 3 ===== ==== virtualenv ==== <code> $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - $ sudo apt-get install nodejs libmariadbclient-dev redis-server mariadb-server $ sudo npm install -g bower $ sudo npm install -g gulp $ virtualenv --python=/usr/bin/python3.5 /home/emonge/ralph $ source /home/emonge/ralph/bin/activate $ cd /home/emonge/ralph $ git clone https://github.com/allegro/ralph.git $ cd /home/emonge/ralph/ralph $ make install $ make menu $ make install-test $ gulp $ python setup.py install </code> Edit $HOME/.profile <code> export DATABASE_NAME=ralph export DATABASE_USER=ralph export DATABASE_PASSWORD=ralph export DATABASE_HOST=127.0.0.1 export RALPH_DEBUG=1 </code> Create the database, and run the server: <code> $ ralph migrate $ ralph sitetree_resync_apps $ ralph createsuperuser $ ralph runserver 127.0.0.1:8001 </code> ==== Other stuff ==== * Add Datacenter * Add Server Room * Add Racks * Add Manufacturer * Add Category * Add Model * Add Service * Add Environment * Add Hardware ==== Apache 2 configuration ==== <code> <VirtualHost *:8000> ProxyPass / http://127.0.0.1:8001/ ProxyPassReverse / http://127.0.0.1:8001/ SetEnvIf X-Url-Scheme https HTTPS=1 SSLCertificateFile /etc/letsencrypt/live/mycloud.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/mycloud.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf </VirtualHost> </code>