Giter Club home page Giter Club logo

dropstack-cli's People

Contributors

mikebild avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kjellski

dropstack-cli's Issues

Add alias command

CLI should provide an alias command to support a understandable name per service.

dropstack alias <servicename> <myname>

Unable to deploy : Dropstack asks to login when I'm already logged in.

Details: When I try to do dropstack deploy, it shows up a message Credentials not found. Use dropstack login <url> to verifiy your credentials. even If I'm already logged in. That's weird and has started happening since 3 days. It'll be really awesome if you can help me figure out what's going wrong.

StackTrace:

Hemang ~/PycharmProjects/cs $ dropstack ls
Deployments for [email protected] on https://api.cloud.dropstack.run

droTYPE    | NUM # | ID/NAME   | URL                                          
Nothing deployed
Hemang ~/PycharmProjects/cs $ dropstack deploy
Deploying - for [email protected] on https://api.cloud.dropstack.run
⣇ Deploying [3.88s]
Credentials not found. Use dropstack login <url> to verifiy your credentials.
Hemang ~/PycharmProjects/cs $ dropstack info
Account information for [email protected] on https://api.cloud.dropstack.run

   ┌──────────────────────────────────────────────────────┐
   │                                                      │
   │   Account ID     : [email protected]                │
   │   Server Version : 2.5.7                             │
   │   Client Version : 2.5.7                             │
   │   Server URL     : https://api.cloud.dropstack.run   │
   │   Plan (beta)    : free                              │
   │                                                      │
   └──────────────────────────────────────────────────────┘

Hemang ~/PycharmProjects/cs $ dropstack deploy
Deploying - for [email protected] on https://api.cloud.dropstack.run
⣇ Deploying [3.76s]
Credentials not found. Use dropstack login <url> to verifiy your credentials.
Hemang ~/PycharmProjects/cs $ 

I'm using

dropstack 2.5.7
npm 5.0.3
macOS Sierra

Thanks!

Extract sign up from `dropstack login`

"Automatic sign up" in dropstack login confuses users. Adjust steps to:

  • dropstack login -> account not found -> dropstack signup
  • dropstack signup -> enter password twice

Add scripts config section for custom builds, starts, tests, etc.

  • Support for custom scripts in CLI / .dropstack.json

Example

dropstack deploy --script-add start="./start.sh" --script-add build="./build.sh"
{
  "variables": [],
  "instances": 1,
  "type": "mono",
  "name": "foo",
  "serviceUrl": "foo.cloud.dropstack.run",
  "scripts": {
    "start": "./start.sh",
    "build": "./build.sh",
    "test": "./test.sh",
  }
}

Enhance `dropstack remove` error messages

➜  example git:(master) dropstack rm orjmzcfx                    
Remove deployment orjmzcfx for ... on https://api.cloud.dropstack.run
⢼ Removing [3.04s]
An unexpected error occurred!
Error: error: orjmzcfx missing

Enhance error outputs

  • Connection lost
  • Unauthorized
  • EventSource errors
  • Service not found
  • Service already in use

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.