A simple webclient for Pokemon Online written in javascript. You can try it online.
On Linux:
sudo apt-get install nodejs npm
sudo npm install -g webpack
On Windows, install chocolatey
and then in administrative command line:
choco install nodejs.install git
npm install -g webpack
In your project's directory:
git submodule init
git submodule update
npm install
webpack
Follow the instructions in the battle window folder as well! Afterwards, as well as each time the battle window is rebuilt, do:
grunt copy
You may need to run the terminal in administrative mode (Windows) or do commands with sudo (Linux).
You may need to do npm install
and webpack
after updating.
Run node server.js
and open your browser at http://localhost:7070.
sudo npm install -g electron
electron main.js
You can edit serverconfig.js
.
sudo npm install electron-packager -g
electron-packager . --all --out=build/Release --ignore="animated-battle-window" --ignore="app/assets" --ignore="build" --ignore="bower_components" --ignore="scripts"
You may want to install other things in order to run the scripts: python3
and imagemagick
. They can be both installed in a similar fashion with apt-get
/ choco
.