Giter VIP home page Giter VIP logo

Comments (13)

high-functioning-sociopath avatar high-functioning-sociopath commented on July 3, 2024 1

Oh okay. I'll try doing that. @YourTechBud
Yes it would really be helpful for debugging. @Jayesh333
Also if would be really great if the guide was clearly defined.

from space-cloud.

HeyItsJs avatar HeyItsJs commented on July 3, 2024

Can we have some more context to this? Like on what OS does this problem arises and what errors are reported? @KhushalPShah

from space-cloud.

YourTechBud avatar YourTechBud commented on July 3, 2024

I think this links back to #28.

from space-cloud.

KhushalPShah avatar KhushalPShah commented on July 3, 2024

Can we have some more context to this? Like on what OS does this problem arises and what errors are reported? @KhushalPShah

I tried copying the contents of the config file, as well as downloading the config file.
Neither of it worked.
I tried it on Ubuntu.

from space-cloud.

YourTechBud avatar YourTechBud commented on July 3, 2024

Whats the space-cloud version you are using?

from space-cloud.

high-functioning-sociopath avatar high-functioning-sociopath commented on July 3, 2024

Unable to download config file.
Unsuccessful attempt to copy and run the config contents(raw) to config.yaml
How does the space-up api pick up the index.html file? Because I tried saving the file at the same location as of config, but resulted in 404 not found error.

from space-cloud.

HeyItsJs avatar HeyItsJs commented on July 3, 2024

When exactly did you get the 404 error? Immediately on running the space cloud or on making some request to space cloud via client api (if yes then which request)? Also what do you mean by space-up API pick up the index.html file? And what's the version of the space cloud you are running? @high-functioning-sociopath

from space-cloud.

high-functioning-sociopath avatar high-functioning-sociopath commented on July 3, 2024

Following the tutorial, I copied the config file and downloaded the index.html file from the todo example.
I started the space-cloud through terminal which said the server is running on port 8080.
So when I went to localhost:8080, it displayed the 404 HTTP error , which means it is not able to find the file.
So how does the space-cloud know which file (front-end, viz. todo app) to run? Because nowhere in the config file have I mentioned which file I want to run.
@Jayesh333

from space-cloud.

YourTechBud avatar YourTechBud commented on July 3, 2024

@high-functioning-sociopath space-cloud doesn't host static files yet. Its a good idea to add that feature though. space-cloud only exposes the REST endpoints for the crud operations. Also, space cloud would throw an error if it couldn't load the config. @Jayesh333 we should add a log message saying "config loaded or something similar to make it more explicit.

You'll have to open the html file directly in the browser by double clicking it. I should have been more specific in the docs. The issue #28 does talk about this and what space-cloud really is.

Try opening the html file directly and then try?

from space-cloud.

HeyItsJs avatar HeyItsJs commented on July 3, 2024

Yess agreed we should add a message saying config file loaded. Maybe we can also add a message saying that your backend server is up and running on port 8080 to make it more precise. Would that help? @YourTechBud @high-functioning-sociopath

from space-cloud.

YourTechBud avatar YourTechBud commented on July 3, 2024

@KhushalPShah I think your problem was different? Can you tell us what was it you faced? Like with the steps?

from space-cloud.

HeyItsJs avatar HeyItsJs commented on July 3, 2024

@KhushalPShah is this problem still there?

from space-cloud.

YourTechBud avatar YourTechBud commented on July 3, 2024

Resolved

from space-cloud.

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.