Giter VIP home page Giter VIP logo

Comments (2)

nk-hystax avatar nk-hystax commented on September 18, 2024

As a first step, you should deploy OptScale according to the documentation, prepare a virtual environment, and install packages from the requirements.txt file of the component you want to change. It's enough for the development.

When your code is ready, you may build the new docker images for the components you changed. Run build.sh from the root of the optscale folder with the name of the component you want to build. For example, build.sh rest_api will build a new image rest_api:local. Use this image instead of the existing one in your OptScale to apply the changes.

To run the tests locally, build your image with the tag "build" by running ./build.sh rest_api build, and then run the run_test.sh script from the component's folder: ./rest_api/run_test.sh.

from optscale.

DcWire avatar DcWire commented on September 18, 2024

Hi, I am facing the same issue. I was able to deploy optscale by following the steps given in the documentation and setup the K8s cluster, but I wasn't able to find a way to develop. I am aware of the existence of test files and how to run them but it still hasn't cleared the question of setting up a dev environment.

However, I've been trying to use telepresence or some other tool that allows me to develop locally and deploy the other components over the cloud and see what changes are making a difference. Will update on that when I am successful.

Any additional information will be appreciated, thanks.

from optscale.

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.