|
1 |
| -Grouphub |
2 |
| -========= |
| 1 | +# SURFnet GroupHub |
3 | 2 |
|
4 |
| -De business laag van de GroupHub applicatie: https://wiki.surfnet.nl/display/P3GFeI2015/2.+Business+Laag |
| 3 | +[](https://travis-ci.org/SURFnet/grouphub) |
5 | 4 |
|
6 |
| -# Host machine requirements |
| 5 | +GroupHub is een groepsmanagementapplicatie voor het aanmaken en beheren van groepen binnen onderwijsinstellingen. |
7 | 6 |
|
8 |
| - - Virtualbox |
9 |
| - - Vagrant |
10 |
| - - Ansible |
| 7 | +Deze repository bevat GroupHub, de businesslaag die zijn data haalt uit de [GroupHub API](https://github.com/SURFnet/grouphub.api). |
11 | 8 |
|
12 |
| -## Vagrant plugins |
13 |
| -Make sure you have the following vagrant plugins installed. |
| 9 | +Zie de documentatie op [https://wiki.surfnet.nl/display/Grouphub/Systeemspecificaties](https://wiki.surfnet.nl/display/Grouphub/Systeemspecificaties). |
14 | 10 |
|
15 |
| - vagrant-hostsupdater >=(0.0.11) |
16 |
| - vagrant-share >=(1.1.4, system) |
17 |
| - vagrant-vbguest >=(0.10.1) |
| 11 | +## Getting started |
18 | 12 |
|
19 |
| -# Installation |
20 |
| -- Run `vagrant up` in order to get the vagrant machine running |
| 13 | +### Prerequisites |
21 | 14 |
|
22 |
| -```sh |
23 |
| -<projectdir>$ vagrant ssh |
24 |
| -<vagrantbox>$ cd /vagrant |
25 |
| -<vagrantbox>$ composer install |
26 |
| -<vagrantbox>$ bin/console assetic:dump |
| 15 | +- [Vagrant](https://www.vagrantup.com/docs/installation/) + [VirtualBox](https://www.virtualbox.org/wiki/Downloads) |
| 16 | + - [vagrant-hostsupdater](https://github.com/cogitatio/vagrant-hostsupdater) >=(0.0.11) |
| 17 | + - vagrant-share >=(1.1.4, system) |
| 18 | + - vagrant-vbguest >=(0.10.1) |
| 19 | +- [Ansible](https://docs.ansible.com/ansible/intro_installation.html) |
| 20 | + |
| 21 | +### Installing |
| 22 | + |
| 23 | +Install dependencies using: |
| 24 | + |
| 25 | +``` |
| 26 | +composer install |
27 | 27 | ```
|
28 | 28 |
|
29 |
| -# Add |
30 |
| -`145.100.180.203 ldap.surfuni.org idp.surfuni.org` |
| 29 | +Add the following line to your hosts file (`/etc/hosts`): |
| 30 | + |
| 31 | +``` |
| 32 | +145.100.180.203 ldap.surfuni.org idp.surfuni.org |
| 33 | +``` |
| 34 | + |
| 35 | +Start the Vagrant machine (don't forget to also start the Vagrant machine of the [GroupHub API](https://github.com/SURFnet/grouphub.api)!) |
| 36 | + |
| 37 | +``` |
| 38 | +vagrant up |
| 39 | +``` |
31 | 40 |
|
32 |
| -# Getting started |
33 |
| -After starting and provisioning your vagrant box you can go to: |
34 |
| -<http://dev.grouphub.org/app_dev.php> |
| 41 | +Go to [http://dev.grouphub.org/app_dev.php](http://dev.grouphub.org/app_dev.php) to view the application in your browser. |
35 | 42 |
|
36 |
| -# Running synchronization scripts |
| 43 | +### Running synchronization scripts |
37 | 44 | Note: you might have to add `app_dev.php/` to the `grouphub_api_url` parameter for dev
|
38 | 45 | ```sh
|
39 | 46 | <projectdir>$ vagrant ssh
|
|
0 commit comments