sumocoders/application-skeleton

Installs: 723

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 5

Forks: 5

Open Issues: 0

Type:project

pkg:composer/sumocoders/application-skeleton


README

Use the following commands to create a new project:

composer create-project sumocoders/application-skeleton my_project
git init
git add .
git commit -n -m "Initial commit"

Start your project by running:

symfony serve
symfony console sass:build --watch

Configuration

Deployment

Open deploy.php and check the configuration, replace the example values (prefixed with $) with correct values.

Try to deploy to staging by running:

symfony php vendor/bin/dep deploy stage=staging

Log in through ssh on the dev-server and alter the .env.local-file to use the correct credentials.

Continuous deployment to staging and production

Each time something is merged into the staging or the master branch it will be deployed automatically.

  1. Open .gitlab-ci.yml
  2. Scroll to Deploy - to staging.
  3. Alter the url under environment → url.
  4. Scroll to Deploy - to production.
  5. Alter the url under environment → url.

Working on the Skeleton

Testing create-project locally

There is a test-script scripts/test.sh which you can use:

COMPOSER_MEMORY_LIMIT=-1 ./scripts/test.sh BRANCH-TO_TEST TARGETDIR

This will create a new project that uses the committed code in the selected branch. The new project will be located in the TARGETDIR

Kudos to beporter.