This app will export data from the Companion App to a firebase database.
Click Fork (located in the top right corner of the github repository). After that click the green code button and then copy your url path.
Go to terminal.
git clone [paste your git url here]
cd Madden-Companion-Exporter
npm install
To run this application locally (no real use to run locally):
npm run start
Go here: http://firebase.google.com/ and create an account or login. Next, create an application.
Commit the changes
git add *
git commit -m "Update app.js with firebase info"
git Push
Go here: https://dashboard.heroku.com/ and create an account or login. Next, create an application. Then, click on the new application and go to the Deploy tab. Under deployment method, connect to your github repo of this project. Then go ahead and do a manual deploy. Lastly, figure out the url to your app.
Go to the league's export page you want. Enter in the url of your heroku app in the following format. herokuurl.herokuapp.com/yourusername Dont forget your username. It needs a username to match up with the app.post routes. The data will then be in your firebase database to do as you wish. Either download it or use the firebase database to power your website.
Clear all previous exports in your firebase db by opening the page 'http://<yourapp>.herokuapp.com/delete' in your web browser.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request