add missing packages for frontend to shell.nix
This commit is contained in:
parent
416c8f2165
commit
817f574ec2
26
README.md
26
README.md
|
@ -56,4 +56,30 @@
|
|||
- 11: (reserved)
|
||||
- client responds with empty message to request the next frame
|
||||
|
||||
# Building
|
||||
|
||||
```bash
|
||||
# checkout repo and submodules
|
||||
git clone https://github.com/kaesaecracker/servicepoint-tanks.git
|
||||
cd servicepoint-tanks
|
||||
git submodule update --init
|
||||
cd tanks-backend/servicepoint
|
||||
git submodule update --init
|
||||
cd ../..
|
||||
|
||||
# build with nix-shell
|
||||
nix-shell
|
||||
cd tank-frontent
|
||||
npm install
|
||||
npm run build
|
||||
cd ../tanks-backend
|
||||
dotnet build
|
||||
|
||||
# build with docker/podman
|
||||
cd tanks-backend
|
||||
docker build .
|
||||
cd ../tank-frontend
|
||||
docker build .
|
||||
cd ..
|
||||
docker build .
|
||||
```
|
||||
|
|
17
shell.nix
17
shell.nix
|
@ -1,8 +1,16 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
let
|
||||
rust-toolchain = pkgs.symlinkJoin {
|
||||
rust-toolchain = pkgs.symlinkJoin {
|
||||
name = "rust-toolchain";
|
||||
paths = with pkgs; [rustc cargo rustPlatform.rustcSrc rustfmt clippy];
|
||||
paths = with pkgs; [
|
||||
rustc
|
||||
cargo
|
||||
rustPlatform.rustcSrc
|
||||
rustfmt
|
||||
clippy
|
||||
];
|
||||
};
|
||||
in
|
||||
pkgs.mkShell {
|
||||
|
@ -16,6 +24,9 @@ pkgs.mkShell {
|
|||
gnumake
|
||||
iconv
|
||||
|
||||
typescript
|
||||
nodejs
|
||||
|
||||
dotnet-sdk_8
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue