Skip to content

silverlightning926/portfolio

Repository files navigation

Portfolio

By Siddharth Rao


Svelte Tailwind GitHub Pages AWS


Deploy Formatting



Link

siddharthrao.info

About

This is my personal portfolio website. It is built using Svelte and Tailwind CSS. The website is being hosted by Github Pages and is being routed too by AWS Route53.

The website is automatically deployed using GitHub Actions. The website is automatically formatted using Prettier.

Getting Started

To get a local copy up and running follow these simple steps.

Local Development

  1. Clone the repository:

    git clone <repo-url>
  2. Install the dependencies:

    npm install --include=dev
  3. Start the development server:

    npm run dev
  4. Open the website in a browser:

    http://localhost:5173

Docker

  1. Build the Docker image:

    docker build -t portfolio .
  2. Run the Docker container:

    docker run -p 5173:80 portfolio
  3. Open the website in a browser:

    http://localhost:5173

Formatting With Prettier

The website is automatically formatted using Prettier. The configuration for Prettier is stored in the .prettierrc file.

To format the website manually, run the following command:

npm run format

To check if the website is formatted correctly, run the following command:

npm run format:check

License

This project is licensed under the MIT License - see the LICENSE file for details.