srx.astro.nix/README.md
2022-12-26 20:46:33 +01:00

1.6 KiB

Welcome to Astro

🚀 Project Structure

/
├── public/
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── Card.astro
│   ├── layouts/
│   │   └── Layout.astro
│   └── pages/
│       └── index.astro
└── package.json

🧞 Commands

Astro

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro preview
npm run astro --help Get help using the Astro CLI

Nix

nix build .\#astro-cms -o ./build/astro-cms.tgz
docker load --input=./build/astro-cms.tgz
docker run --rm -it -p 8888:8888 -v $HOME:/mnt cyanovision

docker load --input ./result docker run -it -p 127.0.0.1:8080:80/tcp code.curious.bio/curious.bio/planktoscope # https://tulpa.dev/cadey/astro-http/src/branch/main/flake.nix


```sh
nix build .\#astro-runtime
nix build .\#web-service
nix build .\#portable-service

Documentation