dev-master
9999999-dev https://bitbucket.org/mjscott4242/grlf-toolsGreenleaf Media development tools
MIT
The Requires
by Matt Scott
Wallogit.com
2017 © Pedro Peláez
Greenleaf Media development tools
Symfony Console programs to make development go a little bit quicker., (*1)
You can run from the command line by using the following in your project root directory.
vendor/bin/grlf
You can make an alias to grlf by typing alias grlf="vendor/bin/grlf", (*2)
init - Initializes the .grlf configuration file. You'll need to fill in the approiate details.db:backup - Will create a DB backup in the current directory.db:upload - Will call db:backup and then upload the resulting file to S3.You must initialize the .grlf file before running commands., (*3)
Log into AWS S3 and create a project folder in your bucket set aside for recent backups. The project name should be the same as the git repo name without the .git. It is used throughout the system., (*4)
Log into IAM Policy and create a user. This user will have the KEY and SECRET needed for placing in the .grlf config file., (*5)
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::s3-bucket-name/projectname/*"
]
}
]
}
Greenleaf Media development tools
MIT