Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/websoftwares/fortel-network
https://github.com/websoftwares/fortel-network
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/websoftwares/fortel-network
- Owner: websoftwares
- Created: 2020-03-27T21:17:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T21:07:08.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T13:16:12.447Z (3 months ago)
- Language: PHP
- Size: 303 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## System requirements
- PHP 7.4+
- Composer
- Docker (recommended)## Getting started
Choose below how you would like to install and run the game.- Local environment
install and run on your local machine where php and composer are installed.- Docker
build and run from the docker container on the Docker host machine.### Local environment
1) Install dependencies:
```
php composer.phar install
```2) Start the game from root folder (not document root):
```
php artisan fortel:play-game
```### Docker (recommended)
1) Build project:
```
docker build --no-cache -f docker/Dockerfile -t fortel-game .
```2) Start the game from root folder (not document root):
```
docker run -it fortel-game:latest php artisan fortel:play-game
```### Testing
Project has `unit` and `feature` tests
### Local environment
1) Run the tests:
```
vendor/bin/phpunit
```### Docker (recommended)
1) Build project:
```
docker build --no-cache -f docker/Dockerfile -t fortel-game .
```2) Run the tests:
```
docker run -it fortel-game:latest vendor/bin/phpunit
```## License
The [MIT](http://opensource.org/licenses/MIT "MIT") License (MIT).