Skip to content

lucindasouchet/zigzag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

164 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Table of Contents


🚀 Project Structure

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

/
├── public/
│   ├── favicon.svg
│   ├── images
│   │   ├── image.svg
│   │   ├── ...
│   │   ├── icons
│   │   │   ├── icon.svg
│   │   │   ├── ...
│   │   │   ...
│   │   ├── logo
│   │   │   ├── logo.svg
│   │   │   ├── ...
│   │   │   ...
│   │   ... 
├── src
│   ├── components
│   │   ├── core
│   │   │   ├── Button.astro
│   │   │   ├── Label.astro
│   │   │   ├── ...
│   │   │   ...
│   │   ├── Header.astro
│   │   ├── Footer.astro
│   │   ├── Home.astro
│   │   ├── ...
│   │   ...
│   ├── layouts
│   │   ├── BaseLayout.astro
│   │   ├── ...
│   │   ...
│   ├── pages
│   │   ├── [lang]
│   │   │   ├── index.astro
│   │   │   ├── products.astro
│   │   │   ├── 404.astro
│   │   │   ├── ...
│   │   │   ...
│   │   ├── index.astro
│   │   ├── products.astro
│   │   ├── 404.astro
│   │   ├── ...
│   │   ...
│   ├── i18n
│   │   ├── locales
│   │   │    ├── en
│   │   │    │   ├── translations.json
│   │   │    │   ...
│   │   │    ├── es
│   │   │    │   ├── translations.json
│   │   │    │   ...
│   │   │    ├── fr
│   │   │    │    ├── translations.json
│   │   │    ├── ...
│   │   │    ...
│   │   ├── i18n.ts
│   │   ...
│   ...
├── astro.config.mjs
├── tsconfig.json
└── package.json

To learn more about the folder structure of an Astro project, refer to our guide on project structure.

Back to top


🧞 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

Back to top


🧞 Deployment

Deployment – Run locally

  1. Prerequisite:

    • Make sure Node and NPM are installed on your computer. You can download both at nodejs.org (NPM is included in your Node installation).
    • Please see .nvmrc file at the root of zigzag repo containing the Node version.
    • Using nvm, a Node Version Manager is recommended as it helps you manage and switch between different Node versions with ease. It provides a command-line interface where you can install different versions with a single command, set a default, switch between them, etc. Here is NVM for Windows
  2. In GitHub click on the repository nammed zigzag

  3. Clone the repository locally. Run

    git clone https://github.com/lucindasouchet/zigzag.git
    
  4. Install all modules listed as dependencies in package.json

    cd zigzag
    npm install
    
  5. Runs the app in the development mode. Open http://localhost:4321/ to view it in the browser.

    cd zigzag
    npm run dev
    

Back to top

Deployment - Live Website

=> live link: https://visionary-gumption-c97094.netlify.app/

Back to top


👀 Want to learn more about Astro?

Astro Documentation

Astro Discord server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors