mbutelle/skeleton-4

website skeleton


License
MIT

Documentation

Website skeleton

This symfony-flex skeleton using docker to start a local environment for website.

Prerequisites

Install

Rename container to avoid conflict with another project

sed -i 's/skeleton/$PROJECT_NAME/g' Makefile docker/nginx/app.conf docker-compose.yml

database

if you need database, follow the next steps :

  • uncomment db section in docker-compose file
  • uncomment db check on ready recipe of Makefile
  • add require ymfony/orm-pack and in composer.json
  • if you neded, add require-dev doctrine/doctrine-fixtures-bundle in composer.json

Finally, you have to fill env variable :

DATABASE_URL=mysql://root:root@db.$PROJECT_NAME:3306/db_name

start the project

To start the environment :

make start

Go to homepage

To going to the hompeage :

make open

database

To connecting to the database :

make mysql