No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with docksal:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.docksal
config
public
src
.env.dist
.gitignore
.travis.yml
README.md
composer.json

README.md

Symfony Skeleton Installation Powered By Docksal

This is a sample vanilla symfony skeleton installation pre-configured for use with Docksal.

Features:

Setup instructions

Step #1: Docksal environment setup

This is a one time setup - skip this if you already have a working Docksal environment.

Follow Docksal environment setup instructions

Step #2: Project setup

  1. Clone this repo into your Projects directory

    git clone https://github.com/docksal/symfony-skeleton.git symfonyapp
    cd symfonyapp
    
  2. Initialize the site

    This will initialize local settings and install the site connection file.

    fin init
    
  3. Point your browser to

    http://symfonyapp.docksal
    

More automation with 'fin init'

Site provisioning can be automated using fin init, which calls the shell script in .docksal/commands/init.
This script is meant to be modified per project. The one in this repo will give you a good starting example.

Some common tasks that can be handled by the init script (an other custom commands):

  • initialize local settings files for Docker Compose, Drupal, Behat, etc.
  • import DB or perform a site install
  • compile Sass
  • run DB updates, revert features, clear caches, etc.
  • enable/disable modules, update variables values