Software Requirements:
- Docker 1.11.2
- Docker Compose 1.7.1
To install these on Ubuntu 16.04 follow this tutorial and execute these two command-lines
API Requirements:
- Admin SDK API enabled
- Gmail API enabled
- Google Classroom API enabled
- Client ID for Web Server
To get your client ID, go on Google's Console API.
- Create a Project with the name of your choice
- Create keys for your project
- Choose Web Application keys
- Download the client ID and the client secret JSON file given by Google and
rename it to
client_secret.json
- Authorize the domain name where you want to host the app
- Enable the three following APIs for the project:
- Admin SDK API
- Gmail API
- Google Classroom API
Once the requirements installed, simply clone this directory on your server, add your Google API secret and launch docker-compose:
- Clone the repository:
git clone https://github.com/KillianKemps/ClassroomAdmin
- Copy your Google client ID from your computer to the server under the name
client_secret.json
scp client_secret.json username@your-server-address:~/ClassroomAdmin
-
Configure you app as described in the Configuration page
-
Launch the app in background
cd ClassroomAdmin
docker-compose up -d
The app is then accessible either at http://localhost
or at the hostname