# Welcome to [Astro](https://astro.build) ## 🚀 Project Structure ```txt / ├── 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 ```sh 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 ``` - https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/docker/examples.nix 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 - https://ryantm.github.io/nixpkgs/builders/images/dockertools/