i'm trying to get redmine running on cloudcontrol.com. i've got four questions:
- i need to do more that start a webserver, for example i need to run rake tasks each time i deploy. can i put those in a one liner? i got the following in my Procfile for testing:
web: touch foobar; echo "barbarz"; bundle exec rails s -p $PORT -e production
but i neither see a file foobar nor do i get barbarz in the log files :(
- When i login to the server and want to start the application it tells me tcp $PORT is already in use:
u24293@depvk7jw2mk-24293:~/www$ fuser $PORT/tcp # netstat and lsof is not available 24293/tcp: 10 13 u24293@depvk7jw2mk-24293:~/www$ ps axu | grep 13 u24293 13 0.0 0.0 52036 3268 ? SNs 15:22 0:00 sshd: u24293@pts/0
by sshd??? why would that be?
- i need to change this default behaviour during push: -----> Rails plugin injection Injecting rails_log_stdout Injecting rails3_serve_static_assets
or run something after it as easyredmine doesnt like plugins in vendor/plugins (or i cahnge the code of easyredmine quickly). how would i do that (not change the code, run an after hook for that like with capistrano or so)?
- we have our own gitlab on a dedicated server and for bundle i need to pull those gems. how can i get the public key of the user running the app before the first deployment so i can add it to gitlab?
thanks in advance :)