From dddc61dcbd001d987c42337abed2286536d6d999 Mon Sep 17 00:00:00 2001 From: Rehan Date: Sun, 15 Aug 2021 00:49:28 +0530 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 8f9c1c08..e686b9d5 100644 --- a/README.md +++ b/README.md @@ -259,6 +259,30 @@ Feel free to make changes in logos When you are done with the setup, you should host your website online. We highly recommend to read through the Deploying on Github Pages docs for React. +Move to package.json + +```javascript +// package.json +{ + "homepage": "https://limbo-hacks.github.io/Hackathon-website-template/", + "name": "hackathon-website-template", + "version": "0.1.0", + "private": true, + "dependencies": {.... + +// Change homepage to = "https://{YOUR_USER_NAME}.github.io/{REPO_NAME}/" +``` +```bash +git add . +git commit -m "Preparing for deployment" +git push origin main +# Deploy command +npm run deploy + +# Your website is live in "https://{YOUR_USER_NAME}.github.io/{REPO_NAME}/" +``` + + ## [Technologies Used]()