Skip to content

stevenvergenz/dfrpg-toonstore

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dfrpg-toonstore

View/edit/share Dresden Files character sheets online. Use the hosted version at toonstore.net, or set up your own instance!

Dependencies

  • Node.js v0.10 or greater
  • Various npm packages (just run 'npm install')

Installation

$ git clone https://github.com/stevenvergenz/dfrpg-toonstore.git
$ npm install

Configuration

Create config file

  1. Copy config.sample.json to config.json.
  2. Open config.json in your favorite text editor.
  3. Set the server's listen port, cookie secret, and origin URL.

Configure database

  1. Create a MySQL database and privileged user for ToonStore.

     mariadb> CREATE USER 'tsuser'@'localhost' IDENTIFIED BY 'password';
     mariadb> CREATE DATABASE 'toonstore';
     mariadb> GRANT ALL ON toonstore.* TO 'tsuser'@'localhost';
    
  2. Add the MySQL login information to config.json.

  3. Import the sample database dump toonstore.sql.

     user@localhost:~$ mysql -u tsuser -p toonstore < toonstore.sql
     Enter password: *********
    

Running

$ node src/app.js
$ chrome http://localhost:3001/

About

View/edit/share Dresden Files character sheets online

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published