A personalized UBC companion app.
Instructional and informational wiki: Discovr Wiki
Before continuing make sure you have Android Studio installed and set up.
- Open Android Studio and select
Check out project from Version Control. If you're inside a project already you can find yourself back to the home screen by choosingFile -> Close Project - Select
GitHuband enter your Github credentials. - For the Git Repository URL enter:
https://github.com/SimonJinaphant/Discovr.git. You can leave the other fields blank. - It may take a couple of minutes for Gradle to finish building for the first time
- If you run into errors regarding gradle build tools see the fix at the bottom.
- You'll likely get an
Error Loading Projectbecause two modules (.iml files) don't exist. Ignore this error by selecting the remove option.
- Make sure your Android phone is connected, or your emulator is configured, and press the green play button on the top toolbar.
- If nothing happens, try making sure your phone is unlocked and press the play button again.
If you're able to see a map at this point then nothing went wrong (surprisingly).
Try clicking on the three dots on the top right corner and select either options!
If you ran into problem with gradle try the following fix:
- For Windows click on
File -> Settings, for Mac clickAndroid Studio -> Preferences - In the search dialog on the top left corner type in
Android SDK - Near the bottom you should see
Launch Standalone SDK Manager, click on it and it should open a new window. - Under Tools select
Android SDK Build-toolswith the version24.0.3and make sure everything else is unselected unless you want to install some more stuff. - Click
Install (n) Package(s) - Restart Android studio
- Discovr-Backend contains all of our code for the backend web service which serves as a middleman for managing user events between this app and the remote database.
- Discovr-Crawler contains the code for the web crawler which scrapes the UBC events calendar and stores the result into our remote database. Alternatively, the old Web Crawler can be found here
Reminder! If implementing a feature, create a branch from master and develop the feature on that branch. Once the feature is completed, merge it to master through a pull request. Afterwards, delete the branch to clean up the repository. If modifying your feature, create a new branch from master instead of reviving the old feature branch.