Factorio Bot Developer Guide
Intro
You are welcome to clone the Github repository and extend the ability of the platform. This guide is intended to write down steps needed to develop this application before i forget it myself.
Technologies used
Frontend: Vite.js + PrimeVue
- Vite.js is a new modern bundler for javascript which is blazing fast and includes many sensible defaults.
- Vue.js is an incremental frontend framework which is an absolute joy to work with. It has seen very impressive improvements in version 3 including Composition Api, script setup, dynamic css binding and ... .
- PrimeVue is the a component library for Vue 3. Lots of premade components will make your job as application developer easier and more fun.
Backend: Rust + Tauri
- Tauri is a new modern technology to turn your web apps into a desktop app for multiple platforms (Windows, MacOS, Linux, android and ios soon). Tauri apps have very small file size and tiny memory consumption.
Setup Development Environment
- Ready your workspace according to Tauri Getting Started
- Clone repository
git clone git@github.com:arturh85/factorio-bot.git - Change directory to app/
cd app/yarnornpx yarn
Commands
cd app/; npm startstarts the application while watching for changescargo replstarts the repl version of the application which removes most features and builds quickercargo nexteststarts rust test runnnercargo releaseincrements the version numbers, updates changelog and pushes releasecd docs/userguide; mdbook serveserves userguide locally
Required tools
cargo install tauri-cli
Optional tools
cargo install mdbookcargo install mdbook-mermaidcargo install cargo-releasecargo install git-cliffcargo install cargo-nextest