View Code? Open in Web Editor
NEW
This project forked from dnarkiewicz/usagov-ssg
PHP 99.26%
Shell 0.05%
JavaScript 0.69%
usagov-ssg's Introduction
brew install php
brew install composer
brew install awscli
git clone https://github.com/dnarkiewicz/usagov-ssg.git
cd usagov-ssg
composer install
cp config/USA.gov.config-default.php config/USA.gov.config.php
- edit config/USA.gov.config.php to update parameters for TemplateSync source
- edit config/USA.gov.config.php to update parameters for Destination S3 Bucket
./ssg
- options:
./ssg --fresh-data
to pull a fresh set of data, defaults to cached data
./ssg --fresh-templates
to pull a fresh set of templates, default to local templates
./ssg --deploy
to deploy the site to an s3 bucket
./ssg --no-debug-pages
to not generate fake pages with debug info on failure
./test
cd sites/usa.gov
php -S localhost:8000
- OR
sudo php -S localhost:80