https://github.com/leapfrogtechnology/sports
https://github.com/leapfrogtechnology/sports
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/leapfrogtechnology/sports
- Owner: leapfrogtechnology
- Created: 2019-06-14T11:39:26.000Z (almost 6 years ago)
- Default Branch: dev
- Last Pushed: 2023-03-04T03:56:21.000Z (about 2 years ago)
- Last Synced: 2025-01-08T20:24:54.697Z (4 months ago)
- Language: TypeScript
- Homepage: https://sports.lftechnology.com/
- Size: 9.92 MB
- Stars: 0
- Watchers: 6
- Forks: 3
- Open Issues: 47
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sports
[](https://travis-ci.org/leapfrogtechnology/sports) [](https://codebeat.co/projects/github-com-leapfrogtechnology-sports-dev-5fb55e9c-0db5-46f0-af9a-4d1a3f038925)
An application to manage the sports events. It includes the followings:
* Web App - The view only UI for the events.
* Admin App - The admin dashboard to manage the events.
* API - The backend part to make the management possible.## Individual setup
* For individual setup, refer to the specific project folder.
## All-in-one Setup (docker)
* Copy the `.env.docker` and save as `.env`. Update the variables.
**_NOTE: The db variables should be same inside the api folder as well for migrations to work._**
* Run `docker-compose up` from the root folder to run all the applications at once. To run a specific application use `docker-compose up `. To run the application in background, use `docker-compose up -d `. The logs can be seen through `docker-compose logs`.
* Checkout the applications through `http://localhost:`.
* Run `docker-compose ps` from the root folder to check the status of the containers.
* To run the migrations, perform the following command from the root folder: `docker-compose exec api yarn migrate`.
* Similarly, for seeding: `docker-compose exec api yarn migrate`.
* To run other scripts, use the following command: `docker-compose exec yarn `.
* You can also execute the commands as usual by entering into the container: `docker-compose exec bash`. It gives a bash shell.