SandovalDanilo / dndGenerator

Npc Generator for Dungeon and Dragon

Home Page:http://npcgenerator.azurewebsites.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dungeon and Dragon NPC generator

Website for generating npc with caracteristics and backstory with attributes

Development

Setup

You will need to install Node on your system.

$ git clone https://github.com/Cellule/dndGenerator.git
$ cd dndGenerator
$ npm install

Run

Start Server and Webpack on 2 different consoles

$ npm run start-dev
$ npm run hot-dev-server

Navigate to http://localhost:8080

Tests

Execute tests with

npm test

Linting

ESLint is used to lint this project. To check linting run

npm run lint

To integrate ESLint in sublime 3 see SublimeLinter-ESLint

Deployment

Currently the website is hosted on Azure Website It is linked to the GitHub repository https://github.com/Cellule/dndGenerator.

In order to publish to azure you need to follow these steps.

  • Commit and push all your development work in master
  • Merge master to the release branch
    • If there are any conflicts on the build folder, you can safely ignore them (resolve using theirs for instance)
  • Build the app in console
    • npm install to refresh modules
    • npm run build to build
  • Commit and push the changes in the build folder to the release branch

Once a new commit is pushed on the release branch, Azure will detect and publish your new code automatically. It might take a few minutes to deploy (usually really fast).

About

Npc Generator for Dungeon and Dragon

http://npcgenerator.azurewebsites.net/

License:MIT License


Languages

Language:JavaScript 58.6%Language:CSS 29.5%Language:Python 10.8%Language:HTML 1.2%