Code Monkey home page Code Monkey logo

Comments (3)

eyeseast avatar eyeseast commented on June 10, 2024

Sounds like this may be more an S3 problem than a Tarbell problem. I've never gotten a 301 redirect from S3 before. Here's a quick way to isolate the problem:

First, install aws-cli. Then generate your site to a local folder and try to upload it.

tarbell generate _site
aws s3 sync _site s3://bucket/path

That will create a folder called _site in your project directory. Your fully baked project should be there, which you can serve by running:

cd _site
python -m SimpleHTTPServer

See if that works. If you can generate the site but S3 fails, check your AWS settings and make sure your bucket name is right.

AWS CLI S3 docs: https://docs.aws.amazon.com/cli/latest/reference/s3/

from tarbell.

sergiospagnuolo avatar sergiospagnuolo commented on June 10, 2024

thanks @eyeseast this is a cool solution, and it worked for that matter, but it does not sync as it should as the original AWS solution. Sure, I can apply Fabric to it, but I wonder if I really have to. Thanks anyway for the help, in any case, I will use this with Fabric until I figure out how to fix that.

from tarbell.

sergiospagnuolo avatar sergiospagnuolo commented on June 10, 2024

just figured it out @eyeseast - changed the name of the bucket to one without a dot "." into it. go figure

from tarbell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.