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

Commit c3b4ebc

Browse files
swooplaZeroPointEnergy
authored andcommitted
Update README and CONTRIBUTORS
1 parent f2f0065 commit c3b4ebc

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Contributors
3434
* Nick Fagerlund <nick.fagerlund@gmail.com>
3535
* Nick Lewis <nick@puppetlabs.com>
3636
* Nigel Kersten <nigel@puppetlabs.com>
37+
* Pascal Vibet <p.vibet@gmail.com>
3738
* Patrick Carlisle <patrick@puppetlabs.com>
3839
* Paul Berry <paul@puppetlabs.com>
3940
* Peter Meier <peter.meier@immerda.ch>

README.markdown

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ bundle install --deployment
7373
````
7474
* You need to create a secret for production and either set it via environment variable:
7575
`export SECRET_KEY_BASE=$(bundle exec rails secret)`
76-
or follow the instructions in config/secrets.yml to setup an encrypted secret.
76+
or follow the instructions in config/secrets.yml to setup an encrypted secret.
7777
* Setup database and pre-compile assets
7878
````
7979
RAILS_ENV=production bundle exec rake db:setup && \
@@ -96,9 +96,17 @@ precompile assets for production using:
9696

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

99+
Dashboard will keep all reports in the database. If your infrastructure is big the database will
100+
eventually become very large (more than 50GB). To periodically purge old reports (~ once per day)
101+
and optimize the database tables (~ once per month) it is recommended to run the following tasks
102+
periodically:
103+
104+
* `SECRET_KEY_BASE=none RAILS_ENV=production bundle exec rails reports:prune upto=20 unit=day`
105+
* `SECRET_KEY_BASE=none RAILS_ENV=production bundle exec rails db:raw:optimize`
106+
99107
Contributing
100108
------------
101109

102-
To contribute to this project, please read [CONTRIBUTING](CONTRIBUTING.md).
103-
A list of contributors is found in [CONTRIBUTORS](CONTRIBUTORS.md). Thanks!
110+
To contribute to this project, please read [CONTRIBUTING](CONTRIBUTING.md).
111+
A list of contributors is found in [CONTRIBUTORS](CONTRIBUTORS.md). Thanks!
104112
This project uses the [Silk icons](http://www.famfamfam.com/lab/icons/silk/) by Mark James. Thank you!

0 commit comments

Comments
 (0)