Go to file
2024-07-14 21:52:34 -04:00
.vscode First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00
public Downloaded product images. 2024-07-14 16:59:08 -04:00
src fix: Carousel buttons weren't vertically centered on iOS Safari. 2024-07-14 21:52:34 -04:00
.env.example Refactored ads.txt to use .env file setting. 2024-07-13 05:26:55 -04:00
.gitattributes Downloaded product images. 2024-07-14 16:59:08 -04:00
.gitignore First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00
astro.config.mjs Added Google GTag and .env configuration. 2024-07-13 05:05:46 -04:00
bun.lockb First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00
COPYRIGHT.md Improved about section. Added licensing and released app as open source software. 2024-07-11 20:36:25 -04:00
LICENSE.md Improved about section. Added licensing and released app as open source software. 2024-07-11 20:36:25 -04:00
package-lock.json Added Google GTag and .env configuration. 2024-07-13 05:05:46 -04:00
package.json Added Google GTag and .env configuration. 2024-07-13 05:05:46 -04:00
README.md Added Google GTag and .env configuration. 2024-07-13 05:05:46 -04:00
tsconfig.json First version of Dasher Supply astro site. 2024-06-30 02:53:05 -04:00

Dasher Supply

A pretty cool website by David A. Ball.

🚀 Project Structure

Inside this Astro project, you'll see the following folders and files:

/
├── public/
│   └── assets/
│   │   └── *
│   │   └── brands/
│   │   │   └── *
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── *Card.astro
│   ├── data/
│   │   └── **/*.ts
│   ├── layouts/
│   │   └── *Layout.astro
│   └── pages/
│       └── **/*.astro
│   └── scraper/
│       └── **/*.ts
├── .env
└── package.json

You will need to create a .env file containing the configuration settings for this app.

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
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 check
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check the Astro documentation.