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.
I have something like this
I get this output
The app gets downloaded and extracted in the root directory. And the server does not start.