Skip to content

Unzips in root directory and doesn't start server #8

@thomaswelton

Description

@thomaswelton

I have something like this

let downloader = new S3Downloader({
  bucket: 'my-bucket',
  key: 'fastboot-deploy-info.json'
});

let server = new FastBootAppServer({
  downloader: downloader,
  gzip: true 
});

server.start();

I get this output

[2017-04-03T15:41:28.526Z][m28209] downloading app
[2017-04-03T15:41:28.528Z][m28209] fetching current app version from my-bucket/dist/fastboot-deploy-info.json
[2017-04-03T15:41:28.673Z][m28209] got config { bucket: 'my-bucket', key: 'Archive-123.zip' }
[2017-04-03T15:41:28.674Z][m28209] removing Archive
[2017-04-03T15:41:28.679Z][m28209] saving S3 object my-bucket/Archive-123.zip to Archive-123.zip

The app gets downloaded and extracted in the root directory. And the server does not start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions