This repository contains code for my portfolio website which is made using flutter.
To build the project locally, first clone this repository.
git clone https://github.com/yashk2000/portfolio.git
Then enter this repository.
cd portfolio
Now we can build the website.
flutter build web
This will generate the needed files for the website and place then inside /build/web
.
To deploy the website and test it locally, I recommend using http-server
. Follow instructions from this link to install http-server
.
Now run the following command:
http-server /portfolio/build/web/
Google Chrome is the preffered browser for testing as refreshing here serves as hot reload. So you need not start a new server everytime you make changes to the flutter files and build the web files again.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.