Skip to content

Manual Installation

Jara edited this page Oct 16, 2015 · 9 revisions

If the release files are not your thing, or you cant use the sh file, or are running it in an OS that not supports it. There be always the manual installation.

##First you will need JXCore

For Linux/OSX : (use below script – copy and paste to terminal)
curl http://jxcore.com/xil.sh | bash
This script downloads the latest release.

!! if you have ‘permission denied’ message, make sure the user has root access. Try
curl http://jxcore.com/xil.sh | sudo bash

(! FreeBSD requires bash, and unzip to be installed, or you may manually install jx binaries from JXcore Downloads)

##Now we need the files You can either use
git clone https://github.com/JaraLowell/OgarServ
or download the source or linux tar files to have the source located at OgarServ Release page

Unpack them and go in to the folder that has the index.js file.

##Adding the modules now we need to install the modules for the js library, to do so write
jx install querystring ws http fs sys mysql
it migh cry about pyton but should work never the less. You can only run jx if it is in your path, in any other case you will have to write the full command path to js.

If everything went okay, you should be able now to run jx index.js to start your server!

##Auto restart on Windows? Make a bat file that loops for you
example start.bat

@echo off
c:\JXcore\64\jx install querystring ws http fs sys mysql
:loop
c:\JXcore\64\jx index.js
goto loop

This works if JXcore's exe file is located in c:\JXcore so change this accordingly to where your exe is located. The bat file be located in same folder as where index.js is located.

Clone this wiki locally