srx.astro.nix/README.md

26 lines
1 KiB
Markdown
Raw Normal View History

2023-03-30 01:14:12 +02:00
# srx.dev: Portfolio Sebastian Wendel
2022-12-22 23:31:21 +01:00
2023-03-30 01:14:12 +02:00
[srx.dev](https://srx.dev/)
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
2023-03-30 01:14:12 +02:00
| Command | Action |
| :-------------------- | :------------------------------------------ |
| `nix run .#serve` | Starts local dev server at `localhost:3001` |
| `nix build .#srx_dev` | Build your Nix Package |