The first step is to create a new API key for your QuickFeed application.
-
Decide which GitHub account to use for connecting your QuickFeed server to GitHub.
- For development, using a private GitHub account is fine.
- For deployment, we recommend creating a separate GitHub account.
-
Log in to your chosen GitHub account.
-
Click your profile picture and select Settings.
-
In Settings, click Developer Settings and create a New OAuth App.
- Name your application, e.g.
QuickFeed Development
. - Homepage URL should be your public landing page for QuickFeed, e.g.
https://uis.itest.run/
. - Authorization callback URL must be unique for each instance of QuickFeed, e.g.
https://uis.itest.run/auth/github/callback
.
- Name your application, e.g.
-
When you click Register application, you will be able to retrieve your Client ID and Client Secret. These are necessary for QuickFeed to access GitHub, and for GitHub to communicate back to the QuickFeed server. Create a shell script
quickfeed-env.sh
and copy the Client ID and Client Secret values as shown below:export GITHUB_KEY="Client ID" export GITHUB_SECRET="Client Secret"
Then, to start the QuickFeed server:
source quickfeed-env.sh quickfeed -service.url uis.itest.run -database.file ./qf.db -http.addr :3005 &> quickfeed.log &
Note that the
-service.url
should not be specified with thehttps://
prefix.
To create a course on QuickFeed, you must first create a GitHub organization for your course.
At the University of Stavanger, you can create new organizations under our enterprise account. If you are employee or teaching assistant at the University of Stavanger, contact Hein Meling for more information.
- Log into a GitHub account with access to the enterprise account.
- Navigate to the enterprise account.
- Click New organization.
- Name your organization, e.g.
qf101-2020
. - Skip Invite members; QuickFeed handles this.
Others may follow the instructions below.
- Log into the teacher's GitHub account.
- In the top right corner, press the + menu and click on New organization.
- Select billing plan. Note that QuickFeed requires a billing plan to allows private repositories. Academic institutions can get free access through GitHub's Academic Campus Program.
- Name your organization, e.g.
qf101-2020
. - Skip Invite members; QuickFeed handles this.
- Skip Organization details.