Installation

Install direnv

Shell
brew install direnv
Shell
sudo pacman -Syu direnv
Shell
sudo apt install direnv

See docs

You can stop at step 2.

Install Nix

Shell
sudo chmod -R 664 /etc/nix/nix.conf /var/root/.nix-channels
Shell
 curl -L https://github.com/NixOS/experimental-nix-installer/releases/download/0.27.0/nix-installer.sh | sh -s -- install

Upgrade bash.

Shell
 nix-env --install --attr bashInteractive -f https://github.com/NixOS/nixpkgs/tarball/nixpkgs-unstable
Shell
 sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon

Install devenv

nix-env --install --attr devenv -f https://github.com/NixOS/nixpkgs/tarball/nixpkgs-unstable


Fork and Clone Repository.

Terminal
gh repo fork mira-amm/mira-amm-web --clone; # fork and clone repo
cd mira-amm-web; # Navigate into directory, wait until installation is complete
direnv allow; # enable dev environment auto-setup
pnpm exec playwright install --with-deps # install Playwright Browsers for E2E Testing

Open VSCode (Or your preferred editor):

Shell
# allow all hosts and trust the authors when you see a popup
# and install all recommended extensions
code .

Run projects

⭐ Enjoy Microvisor, our project-specific IDE.

Shell
pnpm dev
Shell
pnpm start
  • Move panes & tabs: Ctrl + left/right/up/down
  • Toggle popup panes Ctrl + F