Official Tanjore.ca Website
- React
- React-Router
- Bootstrapped with Create React App.
- Hosted on Github Pages
In the project directory, you can run:
npm install
npm run start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
We use Github Pages for deployment. The site gets deployed at tanjore.ca which points to devcore-ca.github.io Initial setup
Our deployment process is as follows:
- Make sure
package.jsonhas"homepage"set to"https://tanjore.ca". - Merge commits via PRs into
mainbranch - Checkout main branch locally
- Git pull
- Run
npm run deployfrom main branch - There is a special branch
gh-pageswhich will auto deploy whatever is on main, onto tanjore.ca. You don't need to manually touch thegh-pagesbranch at all for deployment. - Open Github settings: https://github.com/devcore-ca/tanjore/settings/pages
- Inside the "Custom Domain" field, we should put
tanjore.caand hit Save. Must do after every deploy. - Check https://tanjore.ca/ and devcore-ca.github.io/tanjore
| Failed to compile
- Run
npm install
We're using gh-pages