Skip to content
/ dvt Public

Development Tools and Templates 🛠️ ⚙️ 🔭 ❄️⛷️

Notifications You must be signed in to change notification settings

eFishery/dvt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DVT - Development Tools

Development Tools and Templates 🛠️ ⚙️ 🔭 ❄️⛷️

OverviewUsageContributions

Built with Nix

Overview

[Back to the Table of Contents] ↑

graph LR
    A[User] --> B
    B[nix develop FLAKE_FILE] --> C{Dependencies is Ready}
    C -- no --> D([Build or Copy from cache])
    C -- yes --> E(/nix/store/HASH-deps)
    D --> E
    E --> F(Ready to Develop)
Loading

Usage

[Back to the Table of Contents] ↑

In this section is require nix installed in your system, here steps to install:

you can SKIP this section when nix has been installed in your system and go use as development environment, project development environment, or create new project with available template.

  • Install nix in your system
    • run command: curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
    • OR Read Here for more details

Templates

available templates or development environments.

NAME Lang/Framework/Tools
node nodejs@v18, [email protected], pnpm@7
node14 nodejs@v14, [email protected], pnpm@5
go [email protected], gotools, golangci-lint, go-swagger-0.3
react-native See Details
  • using as development environment: nix develop "github:efishery/dvt?dir=<NAME>"

As Development Environment

  • Select the development environment by <NAME> from templates.
  • and, Run command
nix develop "github:efishery/dvt?dir=<NAME>"

As Project Development Environment

  • Go to project directory.
  • Select the development environment by <NAME> from templates.
nix flake init -t github:efishery/dvt#<NAME>
  • example for node: nix flake init -t github:efishery/dvt#node
  • in your project will contains all files from node.

Usefull Command Flags

  • -c <ENV_VAR>
    • maybe, in your local shell have been use zsh, fish, ksh, csh, or powershell. example run devshell with your current $SHELL:
    • nix develop github:efishery/dvt?dir=<NAME> -c $SHELL
  • --refresh
    • maybe, in efishery/dvt have been update the repository and you want to stay up to date. so, run development environment with flag --refresh.
    • nix develop github:efishery/dvt?dir=<NAME> --refresh - run devshell with your current $SHELL

Contributions

[Back to the Table of Contents] ↑

For Code Contributors

Acknowledgement

[Back to the Table of Contents] ↑