Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.65 KB

INSTALLATION.md

File metadata and controls

57 lines (41 loc) · 1.65 KB

Installation

Requirements

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

Google's admin account creation

To get your client ID, go on Google's Console API.

  1. Create a Project with the name of your choice
  2. Create keys for your project
  3. Choose Web Application keys
  4. Download the client ID and the client secret JSON file given by Google and rename it to client_secret.json
  5. Authorize the domain name where you want to host the app
  6. Enable the three following APIs for the project:
  7. Admin SDK API
  8. Gmail API
  9. Google Classroom API

Application setup

Once the requirements installed, simply clone this directory on your server, add your Google API secret and launch docker-compose:

  1. Clone the repository:
git clone https://github.com/KillianKemps/ClassroomAdmin
  1. 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
  1. Configure you app as described in the Configuration page

  2. Launch the app in background

cd ClassroomAdmin
docker-compose up -d

The app is then accessible either at http://localhost or at the hostname