-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Setup
Make sure you have NodeJS installed on your machine.
- Get a fresh clone of the repository:
git clone https://github.com/huytd/agar.io-clone
- 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 server/config.yml
file.
This assumes you've already signed up for a IBM Bluemix and IBM Bluemix DevOps Services account.
Click the "Deploy to Bluemix button below.
-or-
-
Clone the project to your own github repository.
-
Go to IBM Bluemix DevOps Services and Create a Project.
-
Name your project and link to your cloned repository.
-
Click on "Edit Code".
-
Add a new file in your root directory called
manifest.yml
by clicking on File->New->File. -
Add this to your
manifest.yml
file. Change the name and host to something different.--- applications: - name: agar-clone memory: 512M disk_quota: 1G buildpack: nodejs_buildpack host: agar-clone domain: mybluemix.net command: node server/server.js timeout: 180 env: env_type: production
-
Create a new launch configuration.
-
Deploy your application and it will create a new instance on your IBM Bluemix account.
OR
- Go to agar-io-clone on IBM Bluemix DevOps Services.
- Click on "Edit Code". This will clone a new repository to your account.
- Follow steps 5-7 from above.
TODO