Thursday, May 31, 2018
Packages is easy to customize. Modify your Packages installation to suit your needs.
The main landing page layout exists in views/Default/base.html.twig
. You can modify this
file as necessary to customize Packages to suit your project or company.
Notice: This section is a work-in-progress.
Fork the Packages repository on GitHub.
Clone your fork.
Edit composer.json to add your own namespace to the autoloader, if necessary. Change the composer package name, if desired.
Add upstream remote.
git remote add upstream https://github.com/terramar-labs/packages.git
Follow the normal install process: modify config.yml, install dependencies, create database and schema.
Check the Docker documentation for details on running Packages with Docker.
Start your webserver and visit index_dev.php
in your browser to use Packages in the dev
environment. Caching is disabled and helpful
errors are displayed.
Check out the Contributing Guide for the recommended way to set up your development environment.
Some tips:
views/
.
prod
env; use http://localhost:8080/index_dev.php
to develop.views/base.html.twig
, except forviews/Default/base.html.twig
.web/images/
, web/js/bootstrap.min.js
, and such are symlinks pointing to the real files installed by Composer in vendor/
.# Replace `123` below with an appropriate Package ID.
curl -L http://localhost/webhook/123/receive
Terramar Labs