A website I make for fun with my girlfriend while practising in web development at the same time.
Run this command in the project root to install all dependencies:
$ npm install
The following command will create an optimized production build of the application in the dist
folder (the build path can be set in .env
):
$ npm run build
To run the application in development mode on your localhost use this command:
$ npm run dev
To deploy the application on your GitHub Pages, fork the original repository, then run this command:
$ npm run deploy
Then, go to your pig-website
fork settings and under the Pages tab set the deployment source to "branch", then choose the dist
branch. In this way, the deployed application directory will be sourced from the dist
branch of your fork.
This project is built under the MIT license.