An image processing web app built using vulpix.
Used in production at Apollo Agriculture to process and serve images securely from aws.
The repo also acts as an example usage vulpix library building an app using axum
install from rust or
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
install image magick
brew install imagemagick
aws env variables
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
cargo install cargo-watch
cargo watch -q -c -w ./lib -w ./server -w ./config -x run
or
cargo dev
cargo build --release
configuration for running vulpix app lies in config
folder. The default config is in Default.toml
file.
Local config can be overriden by adding to Local.toml
file and similarly production config can be overriden by adding to Production.toml
install k6
brew install k6
generate json file of url to be tested using redash query name it urls.json
and place it in stresstest
folder.
run the tests
k6 run --iterations=100 --vus 10 stresstest/script.js