slight corrections
This commit is contained in:
parent
8e35e9300e
commit
98af99de9f
2 changed files with 29 additions and 18 deletions
|
|
@ -1,5 +1,7 @@
|
|||
# Installing debshots on Dokku
|
||||
|
||||
(This document is not up to date.)
|
||||
|
||||
## What is Dokku?
|
||||
|
||||
[Dokku](https://dokku.com/) is an open-source software that helps deploy
|
||||
|
|
@ -115,14 +117,6 @@ Create a new user record:
|
|||
|
||||
## Cron jobs
|
||||
|
||||
Parse Nginx access logs to count the number of visits of each package:
|
||||
|
||||
RAILS_ENV=production bundle exec rake debshots:accesslog2visits[/var/log/nginx/cache-access.log.1]
|
||||
|
||||
As a cron job:
|
||||
|
||||
41 9 * * * cd $HOME/debshots ; RAILS_ENV=production /home/debshots/.rbenv/shims/bundle exec rake debshots:accesslog2visits[/var/log/nginx/cache-access.log.1]
|
||||
|
||||
Get the latest information on packages from the Debian repositories.
|
||||
|
||||
bundle exec rails debshots:update_from_deb_repos RAILS_ENV=production
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue