Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating own public serveur ? #278

Closed
matrixreal opened this issue Jul 17, 2015 · 19 comments
Closed

creating own public serveur ? #278

matrixreal opened this issue Jul 17, 2015 · 19 comments
Labels

Comments

@matrixreal
Copy link

hi all,
any one can tel me the steps to create our own public serveur (at home for example)
and get agar.io-clone working ... since the demo live is very laggy
thanks

@abalabahaha
Copy link
Collaborator

@matrixreal
Copy link
Author

@abalabahaha
fail on this step
Install nodejs-legacy apt-get install nodejs-legacy
on cmd it say command not found (i already install nodejs)
sad :(

@keithagroves
Copy link
Contributor

@matrixreal
Copy link
Author

@Buskcoin
i want to put all the project to deploy agar.io clone to the public serveur

@keithagroves
Copy link
Contributor

Navigate into the directory you cloned the repository into and run npm install

@matrixreal
Copy link
Author

@Buskcoin
got this
nmp install

@matrixreal
Copy link
Author

@Buskcoin
that make me crazy i try to do it since 3 days without success
i want to put this project (this clone) in my home serveur to be accessible to other (public)
i try again with fresh clone
when i tap npm install now i got these 2 screenshoot
npm1
npm2
and after i tap gulp run i got this
nmp install

@abalabahaha
Copy link
Collaborator

Ok this time you did it right, but something appears to be wrong.

EDIT: Screenshot the terminal when you type in

node -v

@matrixreal
Copy link
Author

got
v0.12..7

@keithagroves
Copy link
Contributor

Make sure you're running cmd as admin. I'm just guessing here but you may have to install Node Legacy.

@matrixreal
Copy link
Author

@Buskcoin
i will do it now
i just want to contribute to this project
i have good pc configuration (i5 memory 8gb windows serveur and high speed internet donwload 15 mb / s and upload 500 ko / s)
and i want to put thos project to public serveur
how can i dot it ? since there no index.html or .php !!!!
i'm confused since 3 days

@abalabahaha
Copy link
Collaborator

@matrixreal Hosting off home internet is not the best idea, but we can give it a try. Of course there is no index.html or index.php, NodeJS serves that automatically.

Here, try these commands in a new terminal window.

cd C:\Users\imatrix\Desktop
git clone https://github.com/huytd/agar.io-clone.git agar
cd agar
npm install -g gulp
npm install
gulp run

@matrixreal
Copy link
Author

@abalabahaha
as i told you here #280

@matrixreal
Copy link
Author

@abalabahaha
i will try it on fresh pc
what os you recommand ?

@abalabahaha
Copy link
Collaborator

Try Ubuntu 14.04. After installing it, do these exact steps in Terminal (may ask for password and/or restart)

sudo apt-get update
sudo apt-get upgrade
sudo reboot

After the reboot, open Terminal again and do:

cd ~
git clone https://github.com/huytd/agar.io-clone.git agario
cd agario
sudo npm install -g gulp
npm install
gulp run

@abalabahaha
Copy link
Collaborator

@matrixreal Still having issues?

@matrixreal
Copy link
Author

@abalabahaha
i sucess install the server thats okay thanks ...
but it lagg much

@abalabahaha
Copy link
Collaborator

@matrixreal Lag would probably be pertinent to #188 and #5. #190 has some discussion about lag too. There's not much you can do at this point, gotta wait for someone to take the initiative to resolve those issues. Since this issue is fixed, I'll close it.

@Logan7432
Copy link

you can fix this by going into config and change networkUpdateFactor from 40 to 120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants