diff --git a/.env b/.env index ee6e1a7..c10ab44 100644 --- a/.env +++ b/.env @@ -2,6 +2,6 @@ AWS_PROFILE=default AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= -AWS_S3_BUCKET_DEPLOY=fxp-satis-serverless -AWS_STACK_NAME=FxpSatisServerless +AWS_S3_BUCKET_DEPLOY=tug-dev +AWS_STACK_NAME=Tug LOGGER_LEVEL=error diff --git a/README.md b/README.md index 6503e65..4aa2bea 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -Fxp Satis Serverless -==================== +Tug +=== -[![Image of CloudFormation Launch Stack](doc/images/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=FxpSatisServerless&templateURL=https://fxp-satis-serverless.s3.amazonaws.com/latest.template) -[![Build Status](https://travis-ci.org/fxpio/satis-serverless.svg?branch=master)](https://travis-ci.org/fxpio/satis-serverless) +[![Image of CloudFormation Launch Stack](doc/images/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=Tug&templateURL=https://tug-dev.s3.amazonaws.com/latest.template) +[![Build Status](https://travis-ci.org/fxpio/tug.svg?branch=master)](https://travis-ci.org/fxpio/tug) -The Fxp Satis Serverless is a Composer private repository for private PHP packages installable with +Tug is a Composer private repository for private PHP packages installable with [Composer](http://getcomposer.org). The main idea of this project is to have an intermediary between the management of its own server Packagist, or the use of a third party service, and the simple static packages generator like Satis. That is, do not be worried about updating package versions and SHA1s of @@ -84,7 +84,7 @@ file in this project: The latest version of the AWS CloudFormation Stack is to this url: -https://fxp-satis-serverless.s3.amazonaws.com/latest.template +https://tug-dev.s3.amazonaws.com/latest.template Installation ------------ @@ -101,10 +101,10 @@ This project is under the MIT license. See the complete license in the bundle: About ----- -Fxp Satis Serverless is a [François Pluchino](https://github.com/francoispluchino) initiative. -See also the list of [contributors](https://github.com/fxpio/fxp-satis-serverless/graphs/contributors). +Tug is a [François Pluchino](https://github.com/francoispluchino) initiative. +See also the list of [contributors](https://github.com/fxpio/tug/graphs/contributors). Reporting an issue or a feature request --------------------------------------- -Issues and feature requests are tracked in the [Github issue tracker](https://github.com/fxpio/fxp-satis-serverless/issues). +Issues and feature requests are tracked in the [Github issue tracker](https://github.com/fxpio/tug/issues). diff --git a/aws/cloud-formation-stack.yaml b/aws/cloud-formation-stack.yaml index fcd7d8d..5079a83 100644 --- a/aws/cloud-formation-stack.yaml +++ b/aws/cloud-formation-stack.yaml @@ -1,6 +1,6 @@ AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 -Description: Serverless Composer repository for private PHP packages +Description: Private Composer registry for private PHP packages on AWS Serverless Parameters: LoggerLevel: @@ -14,15 +14,15 @@ Parameters: - verbose ConstraintDescription: Must be "error", "warn", "info" or "verbose" - SatisServerlessVersion: - Description: The version defined by the tag name in the Releases page (https://github.com/fxpio/satis-serverless/releases) + TugVersion: + Description: The version defined by the tag name in the Releases page (https://github.com/fxpio/tug/releases) Type: String Default: {S3_LAMBDA_CODE_VERSION} Resources: Endpoint: Type: AWS::Serverless::Api - Description: Endpoint of Satis Serverless + Description: Endpoint of Tug Properties: StageName: prod DefinitionBody: @@ -158,7 +158,7 @@ Resources: Server: Type: AWS::Serverless::Function Properties: - Description: Logic of Satis Serverless + Description: Logic of Tug Runtime: nodejs12.x Handler: server.handler CodeUri: @@ -167,7 +167,7 @@ Resources: Fn::Join: - '' - - 'builds/' - - Ref: SatisServerlessVersion + - Ref: TugVersion - '.zip' Timeout: 30 MemorySize: 1024 diff --git a/babel.config.js b/babel.config.js index 02f7187..4c81117 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,5 @@ /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/build.js b/bin/build.js index 0c6f210..37601b9 100644 --- a/bin/build.js +++ b/bin/build.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/config.js b/bin/config.js index 0f2bf99..60f5079 100644 --- a/bin/config.js +++ b/bin/config.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -23,7 +23,7 @@ let envs = utils.mergeVariables(utils.readEnvVariables(ENV_DIST_PATH), utils.rea let initialEnvs = Object.assign({}, envs); program - .description('Configure your Satis Serverless') + .description('Configure your Tug') .option('--aws-profile ', 'The profile name of AWS shared file (to configure automatically the credentials)', envs['AWS_PROFILE']) .option('--aws-access-key-id ', 'Your AWS Access Key ID (required if AWS Shared Credentials File is not found)', envs['AWS_ACCESS_KEY_ID']) .option('--aws-secret-access-key ', 'Your AWS Secret Access Key (required if AWS Shared Credentials File is not found)', envs['AWS_SECRET_ACCESS_KEY']) diff --git a/bin/create-api-key.js b/bin/create-api-key.js index 5b7c235..1ffe5b1 100644 --- a/bin/create-api-key.js +++ b/bin/create-api-key.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Create or generate a API key') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-t, --token ', 'Your API key, if empty a key will be generated') .parse(process.argv); diff --git a/bin/create-bucket.js b/bin/create-bucket.js index 0c088c7..172b3ba 100644 --- a/bin/create-bucket.js +++ b/bin/create-bucket.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/create-github-oauth.js b/bin/create-github-oauth.js index 7a4d48e..4db73e8 100644 --- a/bin/create-github-oauth.js +++ b/bin/create-github-oauth.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -22,7 +22,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Create or generate a token for Github Oauth') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-t, --token ', 'Your Github personal token') .option('-h, --host ', 'Your Github Enterprise host, if empty the host "github.com" is used') .parse(process.argv); diff --git a/bin/create-github-token.js b/bin/create-github-token.js index d92a599..7ea94fe 100644 --- a/bin/create-github-token.js +++ b/bin/create-github-token.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -22,7 +22,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Create or generate a token for Github Webhooks') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-t, --token ', 'Your token, if empty a key will be generated') .option('-h, --host ', 'Your Github Enterprise host, if empty the host "github.com" is used') .parse(process.argv); diff --git a/bin/deconfig.js b/bin/deconfig.js index ab3840c..69f65c5 100644 --- a/bin/deconfig.js +++ b/bin/deconfig.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/delete-api-key.js b/bin/delete-api-key.js index 07522c3..c597392 100644 --- a/bin/delete-api-key.js +++ b/bin/delete-api-key.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Delete a API key') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-t, --token ', 'The API key') .parse(process.argv); diff --git a/bin/delete-bucket.js b/bin/delete-bucket.js index dc66d05..00f88f7 100644 --- a/bin/delete-bucket.js +++ b/bin/delete-bucket.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/delete-github-oauth.js b/bin/delete-github-oauth.js index deab46b..dd2a307 100644 --- a/bin/delete-github-oauth.js +++ b/bin/delete-github-oauth.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Delete the token for Github Oauth') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-h, --host ', 'Your Github Enterprise host, if empty the host "github.com" is used') .parse(process.argv); diff --git a/bin/delete-github-token.js b/bin/delete-github-token.js index 13413dc..987c08b 100644 --- a/bin/delete-github-token.js +++ b/bin/delete-github-token.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Delete the token for Github Webhooks') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-h, --host ', 'Your Github Enterprise host, if empty the host "github.com" is used') .parse(process.argv); diff --git a/bin/delete-packages.js b/bin/delete-packages.js index 6f48c45..5514516 100644 --- a/bin/delete-packages.js +++ b/bin/delete-packages.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Delete the versions of package') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-u, --url ', 'The repository URL') .option('-n, --version ', 'The specific version, or empty to delete all versions') .parse(process.argv); diff --git a/bin/delete-stack.js b/bin/delete-stack.js index bf69c40..d0e79b5 100644 --- a/bin/delete-stack.js +++ b/bin/delete-stack.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/deploy.js b/bin/deploy.js index 797ed0f..c3fcc53 100644 --- a/bin/deploy.js +++ b/bin/deploy.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/disable-repo.js b/bin/disable-repo.js index 18b2207..870a045 100644 --- a/bin/disable-repo.js +++ b/bin/disable-repo.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Disable the Github repository') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-u, --url ', 'The repository URL') .parse(process.argv); diff --git a/bin/enable-repo.js b/bin/enable-repo.js index 6a4b583..5ed90d4 100644 --- a/bin/enable-repo.js +++ b/bin/enable-repo.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Enable the Github repository') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-u, --url ', 'The repository URL') .option('-t, --type ', 'The repository VCS type') .parse(process.argv); diff --git a/bin/encode-queue-event.js b/bin/encode-queue-event.js index 3687360..6754dd6 100644 --- a/bin/encode-queue-event.js +++ b/bin/encode-queue-event.js @@ -1,5 +1,5 @@ /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/package-deploy.js b/bin/package-deploy.js index a9ca8e5..446f559 100644 --- a/bin/package-deploy.js +++ b/bin/package-deploy.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/package.js b/bin/package.js index 4c6c3d0..51d1faf 100644 --- a/bin/package.js +++ b/bin/package.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/refresh-cache.js b/bin/refresh-cache.js index 5524bd5..32be1fd 100644 --- a/bin/refresh-cache.js +++ b/bin/refresh-cache.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Refresh the cache of packages') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-u, --url ', 'The repository URL, or empty to refresh all repositories') .parse(process.argv); diff --git a/bin/refresh-packages.js b/bin/refresh-packages.js index 788b5c4..efe7579 100644 --- a/bin/refresh-packages.js +++ b/bin/refresh-packages.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Refresh the versions of package') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .option('-u, --url ', 'The repository URL, or empty to refresh all repositories') .option('-n, --version ', 'The specific version, or empty to refresh all versions') .option('-f, --force', 'Check if the package must be actualized even if it exists') diff --git a/bin/run.js b/bin/run.js index e64c095..a050bd7 100644 --- a/bin/run.js +++ b/bin/run.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/serve.js b/bin/serve.js index be9f760..97ef379 100644 --- a/bin/serve.js +++ b/bin/serve.js @@ -1,5 +1,5 @@ /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -25,7 +25,7 @@ const dynamodbLocalZipPath = dynamodbLocalPath + '.zip'; const CONTENT_PATH = './dist'; program - .description('Serve the Satis server in local') + .description('Serve the Tug server in local') .option('-p, --port ', 'The port to run the local server', '3000') .option('-d, --dynamodb-port ', 'The port to run the local AWS DynamoDB server', null) .parse(process.argv) diff --git a/bin/setup.js b/bin/setup.js index 0b61c8c..84de7b7 100644 --- a/bin/setup.js +++ b/bin/setup.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/show-github-oauth.js b/bin/show-github-oauth.js index ab8bbcc..d474e65 100644 --- a/bin/show-github-oauth.js +++ b/bin/show-github-oauth.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Show your token for Github Oauth') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .parse(process.argv); utils.spawn('node bin/config -e') diff --git a/bin/show-github-token.js b/bin/show-github-token.js index b457dd5..4afcfd4 100644 --- a/bin/show-github-token.js +++ b/bin/show-github-token.js @@ -1,7 +1,7 @@ #!/usr/bin/env node /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -21,7 +21,7 @@ const createHeaders = require('./utils/endpoint').createHeaders; program .description('Show your token for Github Webhooks') - .option('-e, --endpoint ', 'Define the endpoint of Satis Serverless API (use for local dev)', false) + .option('-e, --endpoint ', 'Define the endpoint of Tug API (use for local dev)', false) .parse(process.argv); utils.spawn('node bin/config -e') diff --git a/bin/utils/archiver.js b/bin/utils/archiver.js index e88766b..d686322 100644 --- a/bin/utils/archiver.js +++ b/bin/utils/archiver.js @@ -1,5 +1,5 @@ /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/bin/utils/endpoint.js b/bin/utils/endpoint.js index 0cb4c95..813db70 100644 --- a/bin/utils/endpoint.js +++ b/bin/utils/endpoint.js @@ -1,5 +1,5 @@ /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * @@ -10,7 +10,7 @@ const AWS = require('aws-sdk'); /** - * Retrieve the endpoint of the Satis Serverless API. + * Retrieve the endpoint of the Tug API. * * @param {commander} [program] The commander js * @@ -36,7 +36,7 @@ module.exports.getEndpoint = async function getEndpoint(program) { } } catch (e) {} - throw new Error('Impossible to retrieve the endpoint of your Satis Serverless API'); + throw new Error('Impossible to retrieve the endpoint of your Tug API'); }; /** diff --git a/bin/utils/utils.js b/bin/utils/utils.js index f821080..c9eb80d 100644 --- a/bin/utils/utils.js +++ b/bin/utils/utils.js @@ -1,5 +1,5 @@ /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/doc/custom-domain-ssl.md b/doc/custom-domain-ssl.md index 3543c3c..3f3b930 100644 --- a/doc/custom-domain-ssl.md +++ b/doc/custom-domain-ssl.md @@ -9,19 +9,19 @@ that you have already purchased your custom domain, and that you can edit your e Create the domain certificate in AWS Certificate Manager in your AWS region if you want to use a regional endpoint, or in the `us-west-1` region if you want to use the Edge Optimized endpoint: -1. Add the root domain: `satis.example.tld` (example) +1. Add the root domain: `tug.example.tld` (example) 2. Validate and request the certificate ## 2. Create the domain in API Gateway Create the domain in API Gateway with: -- Domain: `` +- Domain: `` - Configuration of the endpoint: `Edge Optimized` or `Regional` -- ACM Certificate: `` +- ACM Certificate: `` - Base Path Mapping: - Path: `` - - Destination: `` + - Destination: `` - Stage: `prod` ### 3. Configure your DNS zone diff --git a/doc/include-in-project.md b/doc/include-in-project.md index 5398e81..4f96374 100644 --- a/doc/include-in-project.md +++ b/doc/include-in-project.md @@ -1,13 +1,13 @@ -Enable Satis Serverless in your project -======================================= +Enable Tug in your project +========================== -To enable the Satis Serverless for each PHP project with Composer, you must run this Composer command: +To enable Tug for each PHP project with Composer, you must run this Composer command: ``` -$ composer config repositories.satis-serverless composer https:// +$ composer config repositories.tug composer https:// ``` -> Of course, use your custom domain, and you also can change the name of the Composer repository. +> Of course, use your custom domain, and you also can change the name of the Composer registry. ## Use the API key with Composer diff --git a/doc/index.md b/doc/index.md index d9c8137..de7fbbf 100644 --- a/doc/index.md +++ b/doc/index.md @@ -1,7 +1,7 @@ -Fxp Satis Serverless -==================== +Tug +=== -Welcome to the Fxp Satis Serverless - a serverless Composer repository for private repositories. +Welcome on the Tug - a private Composer registry for private PHP packages on AWS Serverless. This document contains information on how to download, install, and start the API built with: @@ -70,9 +70,9 @@ You have the option to install the server in one click or download, compile and This installation process is the easiest and fastest, just click on the "CloudFormation Launch Stack" button, and follow the wizard: -[![Image of CloudFormation Launch Stack](images/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=FxpSatisServerless&templateURL=https://fxp-satis-serverless.s3.amazonaws.com/latest.template) +[![Image of CloudFormation Launch Stack](images/deploy-to-aws.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=Tug&templateURL=https://tug-dev.s3.amazonaws.com/latest.template) -1. Then click Next where you can enter a stack name (FxpSatisServerless is a good default) +1. Then click Next where you can enter a stack name (Tug is a good default) 2. Click Next 3. Click Next again on the Options step (leaving the default options selected), to get to the final Review step 4. a. In the Capabilities section of the Review step: check the acknowledgment checkboxes and click @@ -88,10 +88,10 @@ and follow the wizard: #### 1.b.1. Clone the repository ``` -$ git clone git@github.com:fxpio/fxp-satis-serverless.git +$ git clone git@github.com:fxpio/tug.git ``` -Or download the [archive](https://github.com/fxpio/fxp-satis-serverless/archive/master.zip) if you haven't Git. +Or download the [archive](https://github.com/fxpio/tug/archive/master.zip) if you haven't Git. #### 1.b.2. Setup the project @@ -149,7 +149,7 @@ $ bin/create-github-token In each repository or in a organization, create the webhook with: -- Payload URL: `https://` +- Payload URL: `https://` - Content type: `application/json` - Secret: `` - Which events would you like to trigger this webhook? `Just the push event.` @@ -157,7 +157,7 @@ In each repository or in a organization, create the webhook with: ### 2.4. Create your first API key -The API keys are to be used with Composer to allow the connection with your Satis Serverless. +The API keys are to be used with Composer to allow the connection with your Tug. To create a new API key, run the command: @@ -172,13 +172,13 @@ $ bin/create-api-key ## 3) Enjoy! -Now that you have completed the basic installation and configuration of the Satis Serverless, you are ready to learn +Now that you have completed the basic installation and configuration of Tug, you are ready to learn more about using this project. The following documents are available: - [Configure your custom domain with SSL](custom-domain-ssl.md) -- [Using Satis Serverless in your project](include-in-project.md) +- [Using Tug in your project](include-in-project.md) - [Manage the packages](manage-packages.md) - [Alternative installations](alternate-installations.md) - [Update the CloudFormation Stack](update-cloud-formation-stack.md) diff --git a/doc/update-cloud-formation-stack.md b/doc/update-cloud-formation-stack.md index ca7ca19..87563bf 100644 --- a/doc/update-cloud-formation-stack.md +++ b/doc/update-cloud-formation-stack.md @@ -1,17 +1,17 @@ Update the CloudFormation Stack =============================== -To update your CloudFormation Stack of Fxp Satis Serverless with the latest version, just use the AWS console +To update your CloudFormation Stack of Tug with the latest version, just use the AWS console or AWS CLI tool to update the stack with the S3 link below: ``` -https://fxp-satis-serverless.s3.amazonaws.com/.template +https://tug-dev.s3.amazonaws.com/.template ``` > **Note:** > > - Replace the the `` by the version tag name available in the -> [Github Releases page](https://github.com/fxpio/fxp-satis-serverless/releases). +> [Github Releases page](https://github.com/fxpio/tug/releases). > - To use the version of the branch `master`, use the tag name `latest`. To finish the update, follow the wizard of the AWS console. diff --git a/package.json b/package.json index 0e46011..56b9f82 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "@fxp/satis-serverless", + "name": "@fxp/tug", "version": "1.0.0", - "description": "Composer private repository for private PHP packages on AWS Serverless", + "description": "Private Composer registry for private PHP packages on AWS Serverless", "main": "src/lambda.js", - "repository": "git@github.com:fxpio/fxp-satis-serverless.git", + "repository": "git@github.com:fxpio/tug.git", "author": "François Pluchino ", "license": "MIT", "private": true, diff --git a/postcss.config.js b/postcss.config.js index 56b1f18..3cbc0a0 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,5 +1,5 @@ /* - * This file is part of the Fxp Satis Serverless package. + * This file is part of the Tug package. * * (c) François Pluchino * diff --git a/src/app/App.vue b/src/app/App.vue index 2e743cb..1dedd85 100644 --- a/src/app/App.vue +++ b/src/app/App.vue @@ -1,5 +1,5 @@