Comments (2)
Hi and thanks for the issue.
I have used ember-cli-deploy
with prember
and ember-cli-deploy-s3
but not with ember-cli-deploy-s3-index
.
To make it work you just have to extend the file-pattern that ember-cli-deploy-s3
uses to determine which files to upload.
Prember prerenders your application and creates a directory structure and html files based on your routes.
In the projects where I implemented this I used ember-cli-deploy-s3
to upload all these files to s3. The difference between the workflow that s3-index
provides is that there is no notion of revisions anymore. You just deploy and you change the content of your application (the directory structure that prember creates) in place.
If you want to have some kind of revisioning of content like s3-index
usually provides I am not entirely sure what would need to be done to actually achieve this but this is certainly a use case that needed to be implemented seperately from s3-index
. You would need to revision the entire directory structure and switch that around when activating a revision.
Maybe you create separate folders in s3 per revision and upload the entire content into that folder and on activation you replace the entire top-layer of your folder structure in s3. This is certainly an intersting concept and a useful plugin idea but nothing that is or I want to support in this plugin - just because it's a completely different workflow of what s3-index
currently provides.
Happy to help with this though. It sounds like a nice idea to be able to use s3 and revisions with prember.
from ember-cli-deploy-s3-index.
@LevelbossMike Thanks for digging into this, really is appreciated. I wasn't thinking of s3-index
in the right way -- totally makes sense it doesn't play nicely with Prember in the current situation.
We switched to just using one S3 bucket for the whole app and forgoing the revision history!
Thanks again!
from ember-cli-deploy-s3-index.
Related Issues (20)
- Activate task becomes very slow when you have a lot of deployed items HOT 6
- Upgrade AWS SDK dependency to v3
- Official release of v4 HOT 2
- AWS Credentials should not be required HOT 2
- Latest release does not include AWS s3 improvements HOT 2
- Make `contentType` configurable or auto-detected HOT 1
- NoSuchKey Error HOT 3
- Error: Cannot find module 'lodash' HOT 5
- No such file or directory, open '/index.html' HOT 4
- delete old revisions keeping the most 5-10 recent HOT 9
- Full Changelog link is not working (minor error) HOT 3
- `Without Cloudfront` solution is invalid HOT 7
- Deprecation warning with ember-cli 2.12.0 HOT 2
- add revision key to failure message HOT 1
- The support for `profile` is not released :( HOT 2
- Possible to fail sooner in the process? HOT 3
- Default cacheControl policy HOT 6
- New release HOT 3
- InvalidArgument: null in aws-sdk HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-deploy-s3-index.