Skip to content

Commit

Permalink
Merge pull request #18 from Abusayid693/main
Browse files Browse the repository at this point in the history
Added documentation for deployment
  • Loading branch information
Abusayid693 authored Aug 14, 2021
2 parents a56e975 + 22007ff commit e241b5a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,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]()
<p>
Expand Down

0 comments on commit e241b5a

Please sign in to comment.