This project contains the source for the FFXIV Crafting Optimizer Website. It uses AngularJS, AngularUI Bootstrap, and Bootstrap.
You can pick one of these options:
- serve the
app
subdirectory in this repository with your webserver - install node.js and run:
npm install
npm start
- install browser-sync and run:
browser-sync start --port 8001 --server app --files app
- install Docker and run:
docker build --tag ffxiv-craft-opt-web-dev .
docker run -d --rm -it -p 8001:8001 ffxiv-craft-opt-web-dev
The node.js, browser-sync and Docker methods options will serve the website on port 8001. Browser-sync should automatically launch your default browser and load the app.
Note that if you're using Docker on Windows or OS X via VirtualBox, you'll have to use the IP address of the Linux VM (usually 192.168.99.100) that is hosting Docker, instead of localhost
. The Dockerfile.dev method will mount the app source as a volume so changes will be reflected when the browser is refreshed.
Localization files can be found in app/locale
. The app/locale/en.json
file is purposefully missing because the English strings are used as the translation keys. Strings which require interpolation are defined in app.js so that they can be displayed immediately as a fallback until the actual locale json file finishes loading.
For the notranged.github.io version of this tool, I have written a new Python scraper that pulls recipe data from xivapi.com. Whenever FFXIV gets updated with new crafting recipes, run main_scraper.py found in scripts/ranged-python-xivapi-extractor/. It will create new .json files for each job in the /out/ folder. Use these to replace the old .json files in app/data/recipedb/
I haven't made this script work for food and medicine buffs yet, though. You will have to use the old lodestone scraper for that.