Skip to content
/ carbon Public template

✨ Startup landing page template powered by astro. Free to use.

License

Notifications You must be signed in to change notification settings

aarsxx/carbon

Repository files navigation

Cosmos Astro logo

English | 简体中文

Built with Astro

💠 Welcome to Cosmos, an open-source, minimal and beautiful portfolio built with astro

Installation

To get started with the Cosmos project, follow these steps:

Prerequisites

Make sure you have the following software installed:

  • Node.js (use the version specified in the .nvmrc file)
  • nvm (Node Version Manager)
  • pnpm (version 6.0.0 or higher)

Clone the Repository

First, clone the repository to your local machine using git:

git clone https://github.com/andikaleonardo/cosmos.git
cd cosmos

Use Correct Node Version

Navigate to the project directory and use the Node.js version specified in the .nvmrc file:

nvm install
nvm use

Install Dependencies

Install the necessary dependencies using pnpm:

pnpm install

Run the Development Server

After installing the dependencies, start the development server:

pnpm dev

Open your browser and navigate to http://localhost:4321 to see your Astro.js project in action.

Additional Commands

Here is a table of all commands:

Command Description
pnpm dev Run the development server
pnpm build Create a production build
pnpm preview Preview the production build
pnpm lint Lint the project
pnpm format Format the code

Build for Production

To create a production build of your project:

pnpm build

Preview the Production Build

To preview the production build locally:

pnpm preview

Deploy your own

Deploy with Vercel

Deploy to Netlify

📄 Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.

🫶 Built With

✨ Acknowledgement

Thanks inspired by leerob & zaduma, The majority of the code for this project inspired by them.

🗺️ Sponsor

"Buy Me A Coffee"

🏛️ License

This project is released under the MIT License. Please read the LICENSE file for more details.

Star the Expo repo on GitHub to support the project