Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

football-betting/symfony4

Repository files navigation

Warning

Version 1 for football-betting | no longer current, we have developed something new

Football Betting

Build Status codecov Scrutinizer Code Quality

Trello Board

https://trello.com/b/AoRTFOIN

Requirements

  • Symfony 4.1
  • PHP 7.2
  • MySQL 5.5 or higher
  • Node.js 6.11.0 or higher

Setup

  1. set a new 127.0.0.1 symfony.dev.nxs host-entry
  2. run docker-compose up -d in project root
  3. setup the ssh connection
  4. upload the symfony4 folder to /var/www/
  5. go to /var/www/ and create symlink ln -s symfony4/public symfony
  6. ssh into the container and run composer install in /var/www/symfony4/

scss / js changes

all files will be compiled after composer install has been executed. If you want the rebuild the frontend files manually just run ./node_modules/.bin/encore dev in the project root

Credentials

MYSQL

Docker-User Host: 127.0.0.1 (Docker-Host) Port: 3336 User: docker Pass: docker

SSH

Docker-User Host: 127.0.0.1 (Docker-Host) Port: 2222 User: docker Pass: docker