All other documentation files are in ./docs
-
Clone the repository
git clone [email protected]:MaCS/OSS/meetme.git
-
Modify your hosts file
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
-
Build the containers
./build.sh
-
Run meetme
docker-compose --file Docker-swarm.yml up --build
./build.sh
docker-compose --file Docker-compose-webpack.yml up
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
Build options are stored as environment variables within the docker container.
parameter | values | description | default |
---|---|---|---|
BUILD | dev/prod | specifies whether to create a development build or production build | dev |
name | type | description | example |
---|---|---|---|
process.env.API_URL | String | the url to backend domain | https://api.localhost.edu |
./run-tests.sh
docker build --file testing/frontend/linter/Dockerfile -t eslint-meetme 'testing/frontend/linter'
docker run -v "$PWD/frontend:/root/code" eslint-meetme