Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create setup script #10

Open
brettstack opened this issue Jun 4, 2020 · 1 comment
Open

Create setup script #10

brettstack opened this issue Jun 4, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@brettstack
Copy link
Contributor

Currently, developers need to clone the repo and perform search-replace to get started.

The first version of the setup script should allow users to define a new application name and perform this replacement for them.

The developer experience should be:

  1. git clone
  2. npm i
  3. npm run setup -- --appName=MyNewApplication
@brettstack brettstack added enhancement New feature or request help wanted Extra attention is needed labels Jun 4, 2020
@jordygarcias jordygarcias self-assigned this Jun 8, 2020
@brettstack
Copy link
Contributor Author

I forgot the requirement for setting up the credentials. What do you think about instead of passing in parameters like this, we have a config file like setup.config.json:

{
  "applicationName": "",
  "shortApplicationName": "",
  "awsProfiles": {
    "dev": {
      "accessKey": "",
      "secretAccessKey": ""
    },
    "staging": {
      "accessKey": "",
      "secretAccessKey": ""
    },
    "prod": {
      "accessKey": "",
      "secretAccessKey": ""
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants