A campaign and character management tool for the Pathfinder RPG
Fatbard requires the following software packages to run...
...for the web:
...for the backend:
-
Unless you have previously installed them, install NodeJS and Grunt/Grunt-CLI.
- It would be prudent to follow the instructions located at those pages, but it might be as simple as:
sudo apt-get install nodejs
sudo npm install -g grunt grunt-cli
Some *nix environments do not install npm automatically with nodejs in certain situations.
Issuenpm -vto verify your system has npm installed. - It would be prudent to follow the instructions located at those pages, but it might be as simple as:
-
For most environments, you will need to run
npm installin the root directory.If you are running in an environment which is referencing a shared Windows directory (for example, a *nix guest editing files in a Windows host), you will need to run
npm install --no-bin-linksinstead. -
a. After you have successfully installed all necessary node modules, issue
grunt setupto prepare your working structure.
b. In every future situation, you may simply rungruntto build, compile, and watch all the pertinent files.
-
Install Ruby 2.1.1.
- This can easily be done with RVM using the following commands:
sudo apt-get install ruby-rvm
This install process may vary based on your Operating System
rvm install 2.1.1
rvm use 2.1- Now check your Ruby version with
ruby -v
- This can easily be done with RVM using the following commands:
-
Install the Bundler gem using
gem install bundler- Navigate to the project root and install run
bundle installto install the required Gems
- Navigate to the project root and install run
-
Install MongoDB and run the following commands:
mkdir -p /data/dbto make the /data/db directory-
Make sure to set the permissions of the /data/db directory so that your user has read and write permisssions.
-
Now run
mongod
-
-
Start the Rack server
- Navigate to the project root and run the following command:
bundle exec rackup -p 4567
- Navigate to the project root and run the following command: