-
Notifications
You must be signed in to change notification settings - Fork 27
Windows installation
petermrg edited this page Feb 22, 2013
·
5 revisions
- If you don't want to create an account, select "No thanks, just start my download."
- MySQL requires .NET Framework 4.
- Setup Type:
- Server Only. Everything else is not required
- Configuration:
- TCP/IP Networking: enabled
- Advanced configuration: set a Root Account Password
- Open a console, go to MySQL bin directory (%program files%\MySQL\MySQL Server x.x\bin).
- Create a database. Enter the following commands:
mysql -uroot -p
create database enode;
quit;
- Create database tables.
- download database table structure and save as
C:\enode.sql. Enter the following command in the same console:
- download database table structure and save as
mysql -uroot -p enode < C:\enode.sql
- Download from https://github.com/petermrg/eNode as zip or clone git repository.
- Edit file
enode.config.jswith a code editor like Notepad++. You should change the following:- address: your server's IPv4 address.
- TCP port: the TCP port you want to use.
- UDP port: should be TCP+4.
-
MySQL user and pass: if you followed this guide, user name is
rootand the password is the one you selected during MySQL installation.
- Open a console and go to the directory where eNode is located.
- Execute the following commands:
npm install bigint
npm install tinylogger
npm install mysql
npm install hexy- Open a console and go to the directory where eNode is located.
- Execute the following command:
node enode.js
