Skip to content

Commit fd28c84

Browse files
committed
Working on major refactor
1 parent 6f0d033 commit fd28c84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2602
-3349
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test

.eslintrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": "airbnb-base",
3+
"plugins": [
4+
"import"
5+
],
6+
"rules": {
7+
"import/no-dynamic-require": 0,
8+
"import/newline-after-import": 0,
9+
"no-extend-native": 0,
10+
"func-names": 0,
11+
"no-bitwise": 0,
12+
"global-require": 0,
13+
"max-len": 0,
14+
"no-param-reassign": 0,
15+
"no-underscore-dangle": 0,
16+
"class-methods-use-this": 0
17+
}
18+
}

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,3 @@ jspm_packages
4949
# Ignore generated files
5050
tmp
5151
*.dyn
52-
53-
gui/dist/dynastia-darwin-x64
54-
gui/dist/dynastia-win32-ia32
55-
gui/dist/dynastia-win32-x64
56-
gui/dist/installers/*

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,4 @@ jspm_packages
5050
tmp
5151
*.dyn
5252

53-
gui/*
5453
doc/*

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
language: node_js
22
node_js:
3-
- "7"
3+
- "8"

README.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![Build Status](https://travis-ci.org/opendnd/dynastia.svg?branch=master)](https://travis-ci.org/opendnd/dynastia) [![Join the chat at https://gitter.im/opendnd/dynastia](https://badges.gitter.im/opendnd/dynastia.svg)](https://gitter.im/opendnd/dynastia?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
66

7-
This is a tool for D&D DM's to generate dynasties quickly when making a kingdom's history.
7+
This is a tool for D&D DM's to generate dynasties quickly when making a person's backstory.
88

99
![demo](doc/demo.gif)
1010

@@ -14,36 +14,21 @@ You will need [node](https://nodejs.org/en/) and [npm](https://www.npmjs.com/) i
1414

1515
`npm install -g dynastia`
1616

17-
## Loading saved files
17+
## Features
18+
Dynastia is used to generate a dynasty to quickly generate a person's history.
19+
20+
### Loading saved files
1821

1922
Once you have saved a file you can load it again.
2023

2124
`dynastia -i my-file.dyn`
2225

23-
## Web Server for saved files
24-
25-
Once you have saved a file you can load it into a server to view from your browser with the `-s` option. The default port is __8090__ but this can be changed with the DYNASTIA_PORT environment variable.
26-
27-
```
28-
dynastia -si my-file.dyn
29-
Dynastia server running: http://localhost:8090
30-
31-
DYNASTIA_PORT=80 dynastia -si my-file.dyn
32-
Dynastia server running: http://localhost:80
33-
```
34-
35-
## Changing the output directory
26+
### Changing the output directory
3627

3728
You can specify a specific output directory, otherwise it will save to `pwd`.
3829

3930
`dynastia -o my/output/dir`
4031

41-
## GUI
42-
43-
There is a GUI available on Mac and Windows systems that is [available for download](http://opendnd.org). This will receive updates overtime, but the CLI will continue to be the first place to receive the latest features.
44-
45-
![demo](doc/gui.png)
46-
4732
## Contributing
4833

4934
Please read our [contributing guide](https://github.com/opendnd/dynastia/blob/master/CONTRIBUTING.md) for more information on contributing to the project.

bin/dynastia

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env node
22

3-
require('../lib/program');
3+
require('../lib/program');

bin/dynastia-ancestors

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require('../lib/program-ancestors');

bin/dynastia-descendants

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require('../lib/program-descendants');

bin/dynastia-generate

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require('../lib/program-generate');

0 commit comments

Comments
 (0)