https://github.com/pixelart/fhs-blackjack
Black Jack with Symfony for the FHS MMT-15 CMS lectures
https://github.com/pixelart/fhs-blackjack
Last synced: about 2 months ago
JSON representation
Black Jack with Symfony for the FHS MMT-15 CMS lectures
- Host: GitHub
- URL: https://github.com/pixelart/fhs-blackjack
- Owner: pixelart
- License: mit
- Created: 2016-11-18T10:50:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-18T19:24:32.000Z (over 9 years ago)
- Last Synced: 2025-12-31T08:21:48.505Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 6.66 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Black Jack with Symfony
=======================
If you are new, clone this project and install vendors:
git clone https://github.com/pixelart/fhs-blackjack.git
composer install
If you were at the lectures and already have the project, clean up
your changes and pull the latest state from here:
Be careful to do this in your project directory, where you have cloned it!
git clean -fd && git reset HEAD . && git checkout .
git pull
composer install
Adapt your PHP installation
---------------------------
### Windows users
Make sure you have the following extensions uncommented in your `php.ini`:
```
extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_intl.dll
extension=php_mbstring.dll
extension=php_openssl.dll
extension=php_pdo_sqlite.dll
```
### Mac users
It's already included in your PHP install.
### Ubuntu users
You need to install the following packages:
```
sudo apt install php-intl php-opcache php-sqlite3 php-xdebug
```
Run the web server
------------------
We use the php buil-in web server, so you don't have to install an Apache or nginx.
### Ubuntu / Mac
If your are on Linux or Mac OSX you can start the server with:
bin/console server:start
And stop it with:
bin/console server:stop
### Windows
If your are on Windows you can't fork with PHP, so you have to start it
in a separate Window in the foreground:
php bin/console server:run
Stop it with `Ctrl+C`.