ember-fastboot / fastboot-s3-downloader

A FastBoot App Server downloader for AWS S3
7 stars 24 forks source link

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

Open thomaswelton opened 7 years ago

thomaswelton commented 7 years ago

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.