WIP
Enter a list of <= 4 local node based projects and execute concurrently via the runner ui.
Motivation - none, just for fun..
Disclaimer - Local dev server only, shouldn't be taken to "production", the executed get_commands are according to the specified selected projects config files (package.json only at the moment), there's no way of running other sys commands nor injecting any scripts...
Simple React based interface.
Local actix-web server.
server on watch mode: cargo watch -x run
format by running: cargo fmt
lint by running: cargo clippy
frontend dev-server: yarn dev
Build image + start the container:
docker build -t rust-dev-runner .
docker run -d -p 8080:8080 rust-dev-runner
Globally install diesel-cli:
cargo install diesel_cli --no-default-features --features postgres
Run db from container:
docker run --rm -P -p 127.0.0.1:5432:5432 -e POSTGRES_PASSWORD="1234" --name pg postgres:alpine
Create migrations:
diesel setup
diesel migration generate runner
diesel migration run
will generate schema.rs
Running using a CLI
In .env set IS_CLI_MODE=true and run:
cargo install --path . && dev-runner --help