Skip to content
View MFHChehade's full-sized avatar

Highlights

  • Pro

Block or report MFHChehade

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
MFHChehade/README.md

Astro Starter Kit: Basics

npm create astro@latest -- --template basics

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

πŸ§‘β€πŸš€ Seasoned astronaut? Delete this file. Have fun!

just-the-basics

πŸš€ Project Structure

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

/
β”œβ”€β”€ public/
β”‚   └── favicon.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   └── Card.astro
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   └── Layout.astro
β”‚   └── pages/
β”‚       └── index.astro
└── package.json

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 our documentation or jump into our Discord server.

Popular repositories Loading

  1. Medium-Term-Load-Forecasting-using-TCN-LSTM-ARIMA Medium-Term-Load-Forecasting-using-TCN-LSTM-ARIMA Public

    The work develops a multi-step time series load forecasting model that predicts daily power consumption for the upcoming week based on historic daily data of consumption at a university campus.

    Jupyter Notebook 14 1

  2. Energy-Management-System-for-Hybrid-Microgrid Energy-Management-System-for-Hybrid-Microgrid Public

    This work develops a simple energy management algorithm for a residential hybrid system consisting of PV, battery storage, unreliable grid and a diesel generator.

    MATLAB 9

  3. RL-vs-MPC-for-Battery-Management RL-vs-MPC-for-Battery-Management Public

    We compare model-free and model-based methods in the context of battery control.

    Python 5

  4. Solar-Irradiance-Forecasting-using-ANNs-from-Scratch Solar-Irradiance-Forecasting-using-ANNs-from-Scratch Public

    This works develops a deep artificial neural network (ANN) model to forecast solar irradiance at a given time and place based on several meteorological factors.

    Python 1 2

  5. Risk-Aware-Transfer-RL Risk-Aware-Transfer-RL Public

    This project focuses on implementing a novel approach to Risk-Aware Transfer in Reinforcement Learning (RL). This project introduces a unique perspective by incorporating risk at the test level rat…

    Python 1 1

  6. Ordinal-Optimization-based-Sizing-for-Hybrid-Energy-System Ordinal-Optimization-based-Sizing-for-Hybrid-Energy-System Public

    This project uses ordinal optimization for computationally efficient sizing of a hybrid energy system containing PV panels, batteries, diesel generators, and an intermittent grid. It also utilizes …

    Python 1