Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.
/ opentrons-nix Public archive

How to setup a dev environment for Opentrons using nix

License

Notifications You must be signed in to change notification settings

barakplasma/opentrons-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

opentrons-nix

How to setup a dev environment for Opentrons using nix

The DEV_SETUP.md for opentrons is quite complicated, with many manual steps, especially if someone only wants to work on part of opentrons. This repo shows you how to create a development environment with nix-shell as an alternative.

  1. download the file shell.nix
  2. Install Nix (or use Nix docker)
    1. To use docker, install docker, then run $ docker run -it -p 8080:8080 -v $(pwd)/:/workdir nixos/nix from within the opentrons mono-repo
  3. run $ cd workdir then $ nix-shell
  4. done!

Now that the development environment is ready, you can run

$ make setup to download and compile dependencies

$ cd protocol-designer; make dev to start hacking on the protocol designer (for example)

See more

About

How to setup a dev environment for Opentrons using nix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages