2023-04-07 16:31:42 +02:00
|
|
|
# nixos.hamburg - Website
|
|
|
|
|
|
|
|
[nixos.hamburg](https://nixos.hamburg/)
|
|
|
|
|
|
|
|
## 🧞 Commands
|
|
|
|
|
|
|
|
All commands are run from the root of the project, from a terminal:
|
|
|
|
|
|
|
|
### Node
|
|
|
|
|
|
|
|
| Command | Action |
|
|
|
|
| :------------------ | :----------------------------------------------- |
|
|
|
|
| `yarn install` | Installs dependencies |
|
|
|
|
| `yarn dev` | Starts local dev server at `localhost:3001` |
|
|
|
|
| `yarn build` | Build your production site to `./dist/` |
|
|
|
|
| `yarn preview` | Preview your build locally, before deploying |
|
|
|
|
| `yarn astro ...` | Run CLI commands like `astro add`, `astro check` |
|
|
|
|
| `yarn astro --help` | Get help using the Astro CLI |
|
|
|
|
|
|
|
|
### Nix
|
|
|
|
|
2023-04-07 22:32:14 +02:00
|
|
|
| Command | Action |
|
|
|
|
| :---------------- | :------------------------------------------ |
|
|
|
|
| `nix run .#serve` | Starts local dev server at `localhost:3001` |
|
|
|
|
| `nix build .#` | Build your Nix Package |
|