discourse, Rails, Ruby / 19.02.2015
Discourse: Some tips and tricks (logging), adding new plugins, debugging
First thing you have to do is log-in to your server using ssh and going to the discourse installation path:
[shell]
# login in to your ssh account
ssh youraccount@yourip.com
cd /var/discourse
[/shell]
If you need to see the rails logs and see what is doing discourse the commands bellow are what you're looking for:
[shell]
# connecting to the rails application
./launcher ssh app
cd /var/www/discourse
#starts all the logs in console
tail -f log/*.log
[/shell]