Back to Index
Installation
$ gh repo clone tomkyle/webapp-boilerplate
$ cd webapp-boilerplate
On production environment, install dependencies like this:
$ composer install --no-dev
On development environment, install dependencies as follows.
$ composer install
$ npm install
After successful installation
- Composer will automatically run the bin/post-install.php script which, if necessary, creates a .env file and a public/.htaccess, based on their respective dist template files.
- Open .env and public/.htaccess in your editor and adapt to your needs.
- Edit public/robots.txt and change sitemap URL.
- On development environment:
- Setup the SSL certificates for the Docker container. See section below.
- Also edit the source file header in .php-cs-fixer.dist.php