Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datasektionen/betting
Bettingsystem för SM
https://github.com/datasektionen/betting
Last synced: 1 day ago
JSON representation
Bettingsystem för SM
- Host: GitHub
- URL: https://github.com/datasektionen/betting
- Owner: datasektionen
- Created: 2017-10-18T12:47:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-01T11:41:55.000Z (10 months ago)
- Last Synced: 2024-11-23T23:37:49.791Z (2 months ago)
- Language: JavaScript
- Homepage: https://betting.datasektionen.se
- Size: 816 KB
- Stars: 0
- Watchers: 36
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Betting
System to bet when SM ends. I heard there are great rewards for those who win.
## Running
`docker compose watch`Open http://localhost:8000/ in your browser.
Or if you hate docker, you can continue reading this document.
## Commands
Migrating the database
```php
php artisan migrate
```
Starting the server instance
```php
php artisan serve
```## Prerequisite
* PHP 7.4.33
* Composer 2.5.8
* PostgresQL## Setup
1. Copy .env.example -> .env
2. Setup a postgres instance and database
3. Configure the database variables in .env to point to the postgres instance.
4. If you just want login and privileges to work we suggest using our in house software for bypassing this in development, please see: [nyckeln-under-dorrmattan](https://github.com/datasektionen/nyckeln-under-dorrmattan). Install and start this project by following the provided instructions.
5. Migrate the project by running the migrate command (shown on top of this document)
6. You are now ready to start the server, run the serve command (also shown on top of this document)