This is the repository for the FactorioLab project, a tool for calculating resource and factory requirements for the games Factorio, Dyson Sphere Program, Satisfactory, and Captain of Industry.
This project is intended to build on the features of the Kirk McDonald Factorio Calculator (GitHub). It is built from the ground up using Angular, Redux, and Typescript.
For instructions on how to use this tool, check out the wiki.
To submit suggestions or issues, please check out the issues page.
To discuss the calculator, join the Discord.
If you love FactorioLab, consider supporting it by buying me a ☕!
The calculator can be found at https://factoriolab.github.io.
The Factorio calculator can opened directly using the url https://factoriolab.github.io/factorio.
The Dyson Sphere Program calculator can opened directly using the url https://factoriolab.github.io/dsp.
The Satisfactory calculator can opened directly using the url https://factoriolab.github.io/satisfactory.
The Captain of Industry calculator can opened directly using the url https://factoriolab.github.io/coi.
The staging environment, for testing pull requests, can be found at https://factoriolab.github.io/staging.
To run this project locally:
- Install NodeJS
- Install Angular CLI, using
npm install -g @angular/cli
- Install dependencies, using
npm ci
- Build and serve the project, using
npm start
- Open a browser at
http://localhost:4200
The app will reload automatically if source code is changed.
To run the automated unit tests:
- Install NodeJs, Angular CLI, and the dependencies as described above
- Build and run the tests, using
npm test