Skip to content

github-gabriel/photography-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photography Portfolio

This site showcases some of the pictures I took in my free time. It is built using Vite, as it depends on a very important dependency for reading image metadata, to be able to display information about the camera settings for each image. To simplify the building and deploying process on GitHub (since this project is hosted on GitHub Pages), this project uses a workflow which you can find here, to automatically build and deploy the code onto the gh-pages branch. The Page of the Photographer Franco Pagetti served as an inspiration for this project.

Setup

To firstly install all dependencies, run:

npm install

This step is required and should install all necessary dependencies from the package.json.

Development

To start the development server, run:

npm run dev

You should then be able to view changes in real time at http://localhost:5173/.

Production

To build the website for production after you are satisfied with your changes, run:

npm run build

Finally, to view the built page on a locally hosted web server, run:

npm run preview

You should then be able to view the final page at http://localhost:4173.