mirror of
https://github.com/faas-rs/faasd-in-rust.git
synced 2025-06-09 08:16:47 +00:00
Updated How to Develop (markdown)
parent
4958005aab
commit
ba7f46c5aa
@ -2,20 +2,27 @@ Thanks to the `nix`, we can easily develop the project in a reproducible environ
|
|||||||
|
|
||||||
# nix environment
|
# nix environment
|
||||||
|
|
||||||
### Installing nix
|
- **nix installation**
|
||||||
|
|
||||||
https://nixos.org/download/#nix-install-linux
|
https://nixos.org/download/#nix-install-linux
|
||||||
|
|
||||||
### Use home-manager to manage nix features (flakes) and direnv (Optional)
|
- **home-manager**
|
||||||
https://nix-community.github.io/home-manager/index.xhtml#sec-install-standalone
|
|
||||||
|
Manage nix features (flakes) and direnv (Optional)
|
||||||
|
|
||||||
### Use direnv for development environment activation
|
https://nix-community.github.io/home-manager/index.xhtml#sec-install-standalone
|
||||||
https://github.com/nix-community/nix-direnv#via-home-manager
|
|
||||||
|
|
||||||
### Install VSCode extension for automatically environment activation
|
- **direnv**
|
||||||
We have recommand extensions:
|
|
||||||
- **pinage404.nix-extension-pack**: provide direnv and essentials for activating nix dev env
|
For development environment activation
|
||||||
- **rust-lang.rust-analyzer**: Rust language support
|
|
||||||
|
https://github.com/nix-community/nix-direnv#via-home-manager
|
||||||
|
|
||||||
|
- **VSCode extensions**
|
||||||
|
|
||||||
|
Automatically environment activation. We have recommand extensions:
|
||||||
|
- **pinage404.nix-extension-pack**: provide direnv and essentials for activating nix dev env
|
||||||
|
- **rust-lang.rust-analyzer**: Rust language support
|
||||||
|
|
||||||
# shell interactions
|
# shell interactions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user