Giter Site home page Giter Site logo

Docker Deployment about openweightlifting HOT 10 CLOSED

euanwm avatar euanwm commented on August 15, 2024
Docker Deployment

from openweightlifting.

Comments (10)

rajat-tomar avatar rajat-tomar commented on August 15, 2024

Hey @euanwm, I would like to work on this. Can you please assign this to me?

from openweightlifting.

euanwm avatar euanwm commented on August 15, 2024

For more detail - @rajat-tomar - it would be really great if we had an local development option as well.

Production mode - sets endpoint + CORS URL to the current website URL within the backend/serverMain.go and frontend/pages/index.jsx

Development mode - sets previously mentioned URLs to http://localhost:3000 / 8080.

from openweightlifting.

euanwm avatar euanwm commented on August 15, 2024

Use of docker environment variables from StackOverflow...

https://stackoverflow.com/questions/52103155/reading-an-environment-variable-in-react-which-was-set-by-docker

from openweightlifting.

rajat-tomar avatar rajat-tomar commented on August 15, 2024

Yeah sure @euanwm, I'll build the Dockefile for both local and production

from openweightlifting.

rajat-tomar avatar rajat-tomar commented on August 15, 2024

Hey @euanwm, is the backend server running fine for you? For me, it's listening on localhost:8080 though but gives me a 404 error.

from openweightlifting.

euanwm avatar euanwm commented on August 15, 2024

Hey, there currently isn't any endpoints assigned to the root URL. The only available endpoint is /leaderboard

from openweightlifting.

rajat-tomar avatar rajat-tomar commented on August 15, 2024

from openweightlifting.

rajat-tomar avatar rajat-tomar commented on August 15, 2024

from openweightlifting.

euanwm avatar euanwm commented on August 15, 2024

@rajat-tomar there's no documentation for the endpoints. I'll raise another issue for that.

I'm away to create a test endpoint - a simply GET request to allow for local testing.

from openweightlifting.

euanwm avatar euanwm commented on August 15, 2024

@rajat-tomar test endpoint (0.0.0.0:8080/test) available now.

Linked PR - #99

from openweightlifting.

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.