high5 / js-dq

Make battle scene like Dragon Quest with JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

js-dq

dependency

serverside php framework : laravel5

css framework : bootstrap

js animation library : velocity

js HTTP client library : jquery

setup app

setup laravel app server

cd frontend
composer install
sudo npm install -g gulp
npm install
gulp

Database setup

DROP DATABASE IF EXISTS jsdq; CREATE DATABASE IF NOT EXISTS jsdq DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

In addition, you need the "jsdq" user to have full access to this database:

GRANT ALL PRIVILEGES ON jsdq.* TO 'jsdq'@'localhost' IDENTIFIED BY 'jsdq' WITH GRANT OPTION; FLUSH PRIVILEGES;

With these settings, you won't need to modify the database.php configuration file.

After completing these steps, run the migration jobs, that fill the database:

cd frontend
php artisan migrate

flux setup

cd frontend/public/flux

install module

npm install

start script(see package.json)

npm start

About

Make battle scene like Dragon Quest with JavaScript.


Languages

Language:PHP 58.3%Language:CSS 21.7%Language:JavaScript 14.4%Language:HTML 5.7%