1441 |
ariadna |
1 |
H5P Editor PHP Library
|
|
|
2 |
==========
|
|
|
3 |
|
|
|
4 |
A general library that is supposed to be used in most PHP implementations of H5P.
|
|
|
5 |
|
|
|
6 |
## License
|
|
|
7 |
|
|
|
8 |
All code is licensed under MIT License
|
|
|
9 |
|
|
|
10 |
Open Sans font is licensed under Apache license, Version 2.0
|
|
|
11 |
|
|
|
12 |
## Compiling scss to css
|
|
|
13 |
|
|
|
14 |
You first need to install ruby and compass:
|
|
|
15 |
- `sudo apt update`
|
|
|
16 |
- `sudo apt install ruby-full`
|
|
|
17 |
- `sudo apt install build-essential`
|
|
|
18 |
- `sudo gem install compass`
|
|
|
19 |
|
|
|
20 |
Then cd to `h5p-editor-php-library/styles` and compile the scss files:
|
|
|
21 |
- `compass watch` to continuely compile changes
|
|
|
22 |
- or `compass clean && compass compile` to delete the css files and compile new ones
|