Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
some updates to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroPointEnergy committed Aug 22, 2018
1 parent c08b4a4 commit df73f06
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ nodes, and view inventory data and backed-up file contents.
Dependencies
------------

* Ruby 1.8.7, 1.9.3, 2.0.0 or 2.1.x
* Bundler >= 1.1
* Ruby 2.2, 2.3, 2.4, 2.5
* MySQL >= 5.1 or PostgreSQL >= 9.0

Fast Install
Expand Down Expand Up @@ -41,11 +40,16 @@ cp config/settings.yml.example config/settings.yml && \
cp config/database.yml.example config/database.yml && \
vim config/database.yml
````
* Install Puppet Dashboard
* Install Puppet Dashboard Dependencies
````
gem install bundler && \
bundle install --deployment && \
echo "secret_token: '$(bundle exec rake secret)'" >> config/settings.yml && \
bundle install --deployment
````
* You need to create a secret for production and either set it via environment variable:
`export SECRET_KEY_BASE=$(bundle exec rails secret)`
or follow the instructions in config/secrets.yml to setup an encrypted secret.
* Setup database and pre-compile assets
````
RAILS_ENV=production bundle exec rake db:setup && \
RAILS_ENV=production bundle exec rake assets:precompile
````
Expand All @@ -64,7 +68,7 @@ Dashboard is currently configured to serve static assets when `RAILS_ENV=product
environments, you may wish to farm this out to Apache or nginx. Additionally, you must explicitly
precompile assets for production using:

* `RAILS_ENV=production bundle exec rake assets:precompile`
* `SECRET_KEY_BASE=none RAILS_ENV=production bundle exec rails assets:precompile`

Contributing
------------
Expand Down

0 comments on commit df73f06

Please sign in to comment.