Skip to content

Commit

Permalink
moved gekko on linux tips to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantu committed May 29, 2013
1 parent 9e4bc25 commit f683a80
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,31 +52,12 @@ To run the bot you just have to start Gekko:

node gekko

If you installed the bot via git you can easily fetch the latest updates by running:

git pull && npm update

### Running headless

If you wish to run gekko headlessly on your server you could use [nohup](http://linux.die.net/man/1/nohup) with output redirection or [screen](http://www.gnu.org/software/screen/manual/screen.html)


#### With [nohup](http://linux.die.net/man/1/nohup)
Read more about [running gekko linux]([config.js](https://github.com/askmike/gekko/blob/master/docs/gekko_on_linux.md)

nohup node gekko &> output.log &

You will now find all your output in output.log, the process is put in the backround and it is safe to log out from your session.
If you want to track the output in real-time you can always use [tail](http://unixhelp.ed.ac.uk/CGI/man-cgi?tail).

tail -fn100 output.log

#### With [screen](http://www.gnu.org/software/screen/manual/screen.html)

screen -S gekko-seesion
node gekko

Then just detach your session with <Ctrl>+<a> followed by <Ctrl>+<d>.
If you installed the bot via git you can easily fetch the latest updates by running:

git pull && npm update

## What is Gekko doing?

Expand Down

0 comments on commit f683a80

Please sign in to comment.