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

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

Open
thomaswelton opened this issue Apr 3, 2017 · 0 comments
Open

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

thomaswelton opened this issue Apr 3, 2017 · 0 comments

Comments

@thomaswelton
Copy link

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.

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