https://github.com/raynou/plugin-hub
plugin-hub
https://github.com/raynou/plugin-hub
Last synced: 2 months ago
JSON representation
plugin-hub
- Host: GitHub
- URL: https://github.com/raynou/plugin-hub
- Owner: Raynou
- Created: 2024-02-06T01:31:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-06T03:07:04.000Z (about 1 year ago)
- Last Synced: 2025-01-11T19:30:54.618Z (4 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Plugin Hub
This repository has the purpose of serving as a hub for all the plugin that we've created.
## Setup
First, you need to clone the plugins' repositories from GitHub.
#### Faceid:
```bash
git clone https://github.com/Gian12315/super-tribble.git faceid
```#### Simplecamera:
```bash
git clone https://github.com/Gian12315/refactored-robot.git simplecamera
```
#### Sentimentsdata:
```bash
git clone https://github.com/Gian12315/animated-happiness.git sentimentsdata
```Once you have the repositories cloned, the next step is to create a `.env` file with the next format:
```bash
AWS_REGION=
AWS_PUBLIC_KEY=
AWS_SECRET_KEY=
DB_DIALECT=
DB_HOST=hubdb
DB_NAME=moodle
MOODLE_ADMIN_USER=admin
MOODLE_ADMIN_PASS=12345
DB_USER=root
DB_PORT=3306
DB_PASSWORD=12345
```
The variables that you can see with an assigned value should not be changed unless you intend to assign them custom parameters. You have to set `DB_DIALECT` as `mysql` or `mariadb`.If you're in Linux or MacOS, you have to grant to `setup.sh` in the folder `folder` permissions for write, read and write:
```bash
chmod 0777 ./setup/setup.sh
```Finally, you can start the docker container as shown below:
```bash
docker compose up
```After creating the container, you have to execute a setup script called `setup.sh`. You can do it with the following command:
```bash
docker exec -it plugin-hub-hub-1 ./setup/setup.sh
```
The above command installs Moodle itself, that includes grunt and grunt-cli, and all of the needed dependencies of the plugins.