#MTG-Mana-Calculator
This ReactJS app is just a project to help my friends calculate their mana ratios faster for drafted decks!
To modify this app, do the following:
- Fork this repo and clone
- Navigate to the directory for the project and
npm install
- Once changes are ready to be deployed,
cd MTG-Mana-Calculator
and thennpm run deploy
to create an optimized build, and then publish the changes with surge onto manaculator.surge.sh.
To deploy a new project with surge,
npm run build
to create an optimized build
cd build
to get to that build directory
surge
We can do all this with npm run deploy
if we add "deploy": "npm run build && surge build https://<INSERT-URL>.surge.sh"
to our package.json
Make sure that there is no homepage attribute in package.json
as this will change the path of the assets within the new build!