Skip to content

Customization

Senarii edited this page May 21, 2020 · 1 revision

If you're reading this we are assuming that you are an organizer trying to customize dashboard to suit your individual needs. The instructions on this page assume that you've already completed the steps on the Getting Started page.

Editing the hackathon config

At this point you'll probably want to edit the hackathon config to suit your needs. We won't go over the documentation for each option here (you can check the other pages for that). But we will go over a few steps you'll need to follow in order to make changes to this submodule git repository.

  1. First navigate in your terminal to the hackathon-config folder.
  2. Next please run git checkout master
  3. Make all the edits you desire in the hackathon-config folder (you can preview these at the site running at http://localhost:3000 by simply refreshing the page)
    • Note: You may have to make some additional accounts that are attendees or mentors in order to be able to visit all of the pages.
  4. From within your hackathon-config folder, add your changes to be tracked by git with git add . and then run git commit -am "Your commit message here" to commit your changes.
    • Before you do this it's really important that you make sure you've checked out the master branch and that your git repo is not in a detatched-head state. You can check this by running git status.
  5. Finally run git push origin master

At this point if you ever find that your submodules are messed up in any way. You can always just delete your local dashboard repository and run through the steps in getting started again. Since your changes to the configuration repo are already pushed to the remote, you won't lose them.

Remember that you're never comitting anything to your local dashboard repo. Only to the submodule that you've forked. It's okay to have untracked changes in the dashboard repo. As long as you've committed & pushed everything in the submodule, you will be in perfect shape!