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

Mix Akd.Setup #43

Open
thebugcatcher opened this issue Jun 3, 2018 · 0 comments
Open

Mix Akd.Setup #43

thebugcatcher opened this issue Jun 3, 2018 · 0 comments
Milestone

Comments

@thebugcatcher
Copy link
Contributor

Why?

Even Easier Deploy Setup.

Usage:

  • Should be run from the app that's being deployed.
  • Should delegate calls to generators.

$ mix akd.setup

User Inputs:

  • Deploy task name (default: Deploy)

  • How to fetch the for build code:

    1. Git
    2. SCP
    3. Sub-version
      (default 1)
  • Fetch Hook Options.

  • How to build the app:

    1. Distillery release
    2. Docker Container (for Distillery release)
    3. Mix Project
    4. Docker Container (for Mix Project)
      (default 1)
  • Build Environment Variables:
    (example: "ENV_NAME"="value", "ENV_NAME2"="value")
    (default: none)

  • Build Hook Options.

  • How to publish the app to the server:

    1. SCP
    2. Git
    3. Sub-version
    4. Docker-Hub
    5. Kubernetes
      (default 1)
  • Publish Environment Variables:
    (example: "ENV_NAME"= "value", "ENV_NAME2"="value")
    (default: none)

  • Publish Hook Options.

  • Add Phoenix Build Hooks for NPM: (default: Y)

  • NPM Hook Options.

  • Add Phoenix Build Hooks for asset pipeline:

    1. Brunch
    2. Webpack
      (default 1)
  • Brunch, Webpack Hook Options.

  • Apps needing Ecto Migration task and Publish Hook for running migrations:
    (example: :appname1, :appname2)
    (default: none)

@thebugcatcher thebugcatcher added this to the 0.3.0 milestone Jun 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant