Skip to content

melchor629/hny

Repository files navigation

Happy New Years

You can see the source code of the Happy New Year of every year I made one. Not all pages are in english, some could be in spanish.

  • Run npm i to install all packages
  • Run npm start -w packages/${YEAR} to try a specific project in local
  • Run npm run build -ws --if-present to build all packages
  • Run npm run dist to prepare the dist folder with all built packages on it
  • Run npm run serve to serve the dist folder locally at port 3000
  • Run npm run serve:docker to serve the dist folder locally using the custom nginx configuration at port 3000
  • Run npm run docker to build the docker image
  • Run docker container run --rm -it -p 80:80 hny-melchor9000 to run the docker image, and go to http://localhost to see the web in action.
  • Some projects require the API to be up, run npm start -w packages/hny-api. It requires a vercel account btw...
  • To download the assets, run ./scripts/assets.sh pull!

Have fun :)

Years