srx.astro.nix/README.md

26 lines
1.1 KiB
Markdown
Raw Normal View History

2024-03-03 13:45:20 +01:00
# srx.digital: Portfolio Sebastian Wendel
2022-12-22 23:31:21 +01:00
2024-03-03 13:45:20 +01:00
[srx.digital](https://srx.digital/)
2022-12-22 23:31:21 +01:00
## 🧞 Commands
2023-03-30 01:14:12 +02:00
All commands are run from the root of the project, from a terminal:
2023-03-30 01:14:12 +02:00
### Node
2023-03-30 01:14:12 +02:00
| 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 |
2023-03-30 01:14:12 +02:00
### Nix
2022-12-22 23:31:21 +01:00
2024-03-03 13:45:20 +01:00
| Command | Action |
| :------------------------ | :------------------------------------------ |
| `nix run .#serve` | Starts local dev server at `localhost:3001` |
| `nix build .#srx-digital` | Build your Nix Package |