Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

Commit 306f7e4

Browse files
committed
Update README and parameters.yml.dist to improve developer experience
1 parent 06cd9bb commit 306f7e4

File tree

2 files changed

+34
-27
lines changed

2 files changed

+34
-27
lines changed

README.md

+32-25
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,46 @@
1-
Grouphub
2-
=========
1+
# SURFnet GroupHub
32

4-
De business laag van de GroupHub applicatie: https://wiki.surfnet.nl/display/P3GFeI2015/2.+Business+Laag
3+
[![Build status](https://img.shields.io/travis/SURFnet/grouphub.svg)](https://travis-ci.org/SURFnet/grouphub)
54

6-
# Host machine requirements
5+
GroupHub is een groepsmanagementapplicatie voor het aanmaken en beheren van groepen binnen onderwijsinstellingen.
76

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).
118

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).
1410

15-
vagrant-hostsupdater >=(0.0.11)
16-
vagrant-share >=(1.1.4, system)
17-
vagrant-vbguest >=(0.10.1)
11+
## Getting started
1812

19-
# Installation
20-
- Run `vagrant up` in order to get the vagrant machine running
13+
### Prerequisites
2114

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
2727
```
2828

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+
```
3140

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.
3542

36-
# Running synchronization scripts
43+
### Running synchronization scripts
3744
Note: you might have to add `app_dev.php/` to the `grouphub_api_url` parameter for dev
3845
```sh
3946
<projectdir>$ vagrant ssh

app/config/parameters.yml.dist

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ parameters:
1010
# A secret key that's used to generate certain security-related tokens
1111
secret: ThisTokenIsNotSoSecretChangeIt
1212

13-
grouphub_api_url: http://api.grouphub.surfuni.org
13+
grouphub_api_url: http://dev.api.grouphub.org/app_dev.php/
1414
grouphub_api_username: 'grouphub'
15-
grouphub_api_password: ~
15+
grouphub_api_password: FooBar
1616

1717
ldap_read_host: ~
1818
ldap_read_port: 389

0 commit comments

Comments
 (0)