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/
yarn
ornpx yarn
Commands
cd app/; npm start
starts the application while watching for changescargo repl
starts the repl version of the application which removes most features and builds quickercargo nextest
starts rust test runnnercargo release
increments the version numbers, updates changelog and pushes releasecd docs/userguide; mdbook serve
serves userguide locally
Required tools
cargo install tauri-cli
Optional tools
cargo install mdbook
cargo install mdbook-mermaid
cargo install cargo-release
cargo install git-cliff
cargo install cargo-nextest