Max1Truc edited this page Mar 27, 2017 · 15 revisions

Launching from a new server


  • Ensure you have NodeJS installed on your machine.


  • Get a fresh clone of the repository:
    git clone
  • Navigate into the directory you just cloned the repository into:
  • Install gulp globally (may require root privileges):
    npm install -g gulp
  • Install the application dependencies:
    npm install
  • Run the server:
    gulp run

Your server should be listening to port 3000 by default. You can change any of the default parameters by editing the config.json file.

Bluemix Installation

This assumes you've already signed up for a IBM Bluemix and IBM Bluemix DevOps Services account.

Click the "Deploy to Bluemix" button below.

Deploy to Bluemix


  1. Clone the project to your own github repository.

  2. Go to IBM Bluemix DevOps Services and Create a Project.

  3. Name your project and link to your cloned repository.

  4. Click on "Edit Code".

  5. Add a new file in your root directory called manifest.yml by clicking on File->New->File.

  6. Add this to your manifest.yml file. Change the name and host to something different.

    - name: agar-clone
      memory: 512M
      disk_quota: 1G
      buildpack: nodejs_buildpack
      host: agar-clone
      command: node server/server.js
      timeout: 180
        env_type: production
  7. Create a new launch configuration.

  8. Deploy your application and it will create a new instance on your IBM Bluemix account.


  1. Go to agar-io-clone on IBM Bluemix DevOps Services.
  2. Click on "Edit Code". This will clone a new repository to your account.
  3. Follow steps 5-7 from above.

Heroku Installation

  1. Create a Heroku account on this page, when you created your account, go to step 2.
  2. Go to the Heroku deploy page.
  3. You can now choose an app name and if you are in the United States or in Europe, you can leave United States
  4. Click on Deploy.
  5. Wait until two purple buttons appear on the bottom of the page.
  6. Click on "manage" and it's deployed !
  7. Now, you can play on your server by clicking on "view my app" you can also copy the URL and send it to your friends !!!
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.