This document serves as a comprehensive guide to setting up and running a simple portfolio page built with Astro, Svelte, and TailwindCSS, utilizing Bun as both the package manager and runtime.
This project is a straightforward portfolio page built using the following technologies:
In this README, we will guide you through the process of setting up and running this portfolio page on your local environment.
Before you can run the portfolio page locally, you need to set up your development environment. There are two ways to do this: manual setup or using Docker.
To manually set up your development environment, follow these steps:
Install Bun: Make sure you have Bun installed on your system.
Install Dependencies: Open your terminal and navigate to the project directory. Run the following command to install project dependencies:
bun install
Run the Development Server: Once the dependencies are installed, start the development server with the following command:
bun run dev
Your portfolio page will now be accessible locally at http://localhost:5000/
.
Alternatively, you can use Docker to set up the development environment. Here's how:
Build the Docker Image: Open your terminal and navigate to the project directory. Run the following command to build the Docker image:
docker build -t portfolio .
Run the Docker Container: After the image is built, start a Docker container with the following command:
docker run -t -i -p 5000:5000 portfolio
Your portfolio page will be available at http://localhost:5000/
.
That's it! You've successfully set up and run the simple portfolio page locally. You can now customize it according to your needs and showcase your work to the world. Happy coding!