Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions communities/rapperswil.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Software Crafters Rapperswil",
"url": "https://www.meetup.com/mitsprache-in-der-digitalen-welt-glarus",
"location": {
"city": "Rapperswil, Switzerland",
"coordinates": {
"lat": 47.22365028337657,
"lng": 8.817164638831969
}
}
}
27 changes: 27 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
description = "Development shell for softwarecrafters/website with Node.js, Yarn, and testing tools. Use 'nix develop' to enter.";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

outputs =
{ self, nixpkgs, ... }:
let
forAllSystems =
f:
nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] (
system:
f {
pkgs = import nixpkgs { inherit system; };
system = system;
}
);
in
{
devShells = forAllSystems (
{ pkgs, system }:
{
default = pkgs.mkShell {
buildInputs = with pkgs; [
nodejs_20 # Make sure this aligns with .nvmrc — lts/gallium (Node 16) is outdated and no longer available in nixpkgs
yarn
git
];

shellHook = ''
echo "✅ Dev shell ready for softwarecrafters/website on ${system}"
echo "📦 Run \`yarn\` to install dependencies"
echo "🛠 Then use:"
echo " - \`yarn build\` to build the site"
echo " - \`yarn watch\` to start the development server"
echo " - \`yarn test\` to validate the schema"
echo "🌐 Your dev server will be available at http://localhost:3000 (or check the terminal output)"
'';
};
}
);
};
}
Loading