https://github.com/oss/meetme
An meeting coordinator web application integrating student schedules. This is an official read-only mirror; pull requests are ignored.
https://github.com/oss/meetme
Last synced: about 1 year ago
JSON representation
An meeting coordinator web application integrating student schedules. This is an official read-only mirror; pull requests are ignored.
- Host: GitHub
- URL: https://github.com/oss/meetme
- Owner: oss
- License: mit
- Created: 2024-03-08T02:52:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-25T15:23:57.000Z (over 1 year ago)
- Last Synced: 2024-10-25T17:56:43.115Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 48.1 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# MeetMe
## Summary
All other documentation files are in `./docs`
### Quick Start
1. [Install Docker](https://docs.docker.com/engine/install/)
2. Clone the repository
```bash
git clone git@gitlab.rutgers.edu:MaCS/OSS/meetme.git
```
3. Modify your hosts file
```bash
echo "127.0.0.1 localhost.edu
127.0.0.1 api.localhost.edu
127.0.0.1 cas.localhost.edu
127.0.0.1 ldap.localhost.edu
127.0.0.1 saml.localhost.edu
127.0.0.1 admin.localhost.edu
127.0.0.1 idp.localhost.edu" >> /etc/hosts
```
4. Build the containers
```bash
./build.sh
```
5. Run meetme
```bash
docker-compose --file Docker-swarm.yml up --build
```
### Hotloading
```
./build.sh
docker-compose --file Docker-compose-webpack.yml up
```
### Hosts file
You may have to modify your hosts file which has the path `/etc/hosts` for Linux/MacOS systems or `C:/Windows/System32/Drivers/etc/hosts` on Windows systems.
Add the following lines to your host file
```
127.0.0.1 localhost
127.0.0.1 localhost.edu
127.0.0.1 api.localhost.edu
127.0.0.1 cas.localhost.edu
127.0.0.1 ldap.localhost.edu
127.0.0.1 saml.localhost.edu
127.0.0.1 admin.localhost.edu
127.0.0.1 idp.localhost.edu
```
## Backend
#### Build Options
## Frontend
### Building
Build options are stored as environment variables within the docker container.
#### Build Options
| parameter | values | description | default |
| --------- | -------- | ------------------------------------------------------------------- | ------- |
| BUILD | dev/prod | specifies whether to create a development build or production build | dev |
### Environment Variables
| name | type | description | example |
| ------------------- | ------ | ------------------------- | ------------------------- |
| process.env.API_URL | String | the url to backend domain | https://api.localhost.edu |
## Testing
### Running Tests
- `./run-tests.sh`
### Running linter
```sh
docker build --file testing/frontend/linter/Dockerfile -t eslint-meetme 'testing/frontend/linter'
docker run -v "$PWD/frontend:/root/code" eslint-meetme
```