Aller au contenu

Habitrpg Sur Synology Intel


ypso

Messages recommandés

Bonjour,

quelqu'un a déjà installé habitrpg sur sont syno ?

https://habitrpg.com/static/front

Pour le moment j'ai trouvé ça :

Running Locally (Server)

Note: If you're installing the upgrade branch (challenges-and-0.5), follow these instructions.

To run HabitRPG on your own:

  1. Install Node.js (use 0.8.x. – 0.10.x doesn't work) & MongoDB
  2. git clone --recursive -b develop https://github.com/lefnire/habitrpg.git
  3. cd habitrpg && npm install
  4. cp config.json.example config.json (you may chose to edit config.json with your own values, but you should get by with the defaults)
  5. node server.js
  6. Open http://localhost:3000 in your browser (doesn't work in IE)

Possible issues:

  • Make sure mongod is running (try mongo habitrpg and make sure you get a console).
  • Make sure you're on MongoDB 2.x (1.x seems to give people issues)

If you get the EMFILE error, see this workaround

On Windows 7:

Do all of the above, but make sure to run MongoDB before step 5.

Installing Node.js on my new Synology

Last edited by Kevin Kaland, 13 days ago

or the DS211+ I needed the Marvel Kirkwood mv6282 ARM. The easiest way to get in ont

sh syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh

o your system is to use wget. Remember that tool, we will talk more about it.

wget http://wizjos.endofinternet.net/synology/archief/syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh

I created a downloads folder in the home folder of root. Executing the script is very easy

Now we have ipkg installed. The best way to check if it works is to update and upgrade.
DiskStation> ipkg update

If you just want to install software that is available via ipkg, this is it. In my case I want to install node.js. This is not available via ipkg, therefore we need to compile it ourselves. This is where the problem starts. So in the next section we will have a look what you need to compile stuff.
Compile from source
Compiling source code on linus needs compilers (gcc) and headers files. The header files contain information about the libraries that are required during compilation of code that makes use of these libraries. Ipkg has the option to install development libraries that are required to compile source. To bad the current version does not work out of the box. With the help of some resources on the web and a lot of experimentation I finally got a working system. This part is the most important part of getting your system ready to compile node.js.
Usually you would install optware-devel with ipkg. But we start off with some other libraries that will not work with optware-devel.
Compiling node.js
Before we start compiling we need to have some source. This page describes what you need to do:

https://github.com/joyent/node/wiki/Installation

I downloaded node in the /root folder, called ./configure and put the results in /opt/node. Before you can do that you need to install git first. This is easily done using ipkg. Now the steps to perform:

ipkg install git
cd /root
git clone https://github.com/joyent/node.git
cd node
./configure --prefix=/opt/node
make
make install

Instructions for installing and running MongoDB on Windows

Instructions for running MongoDB as a Windows Service








s
i quelqu'un a un habitrpg fonctionnel sur syno la méthode m’intéresse...

Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.