-
Notifications
You must be signed in to change notification settings - Fork 8
Commands and Fixes
Alf edited this page Jul 29, 2014
·
9 revisions
Some common commands and fixes used throughout the app.
celery inspect scheduled --app=app.tasks
Sometimes when running ScoutRealtime behind a firewall, the requests might take ~5s each. This causes some delays in the realtime monitoring.
vim /home/alf/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/config.rb
Update :DoNotReverseLookup => nil,
to :DoNotReverseLookup => true,
scout_realtime stop
scout_realtime start
http://stackoverflow.com/questions/1156759/webrick-is-very-slow-to-respond-how-to-speed-it-up
sudo /usr/sbin/murmurd -ini /etc/mumble-server.ini -supw [password] [id]
This will create a SuperUser password for the virtual server ID. If none is given, 1 will be used.
This also sets the password without having to restart the server.
Refer to http://blog.miguelgrinberg.com/post/flask-migrate-alembic-database-migration-wrapper-for-flask as a user guide for a general idea on migrations.