Giter Club home page Giter Club logo

Comments (7)

mik3y avatar mik3y commented on June 30, 2024

fixed, thanks!

from kegbot-server.

markrickert avatar markrickert commented on June 30, 2024

Sweet!

So if I'm going to integrate this change into my production server, do i just pull the repos and restart the services, or do i need to do a build again?

from kegbot-server.

mik3y avatar mik3y commented on June 30, 2024

So if I'm going to integrate this change into my production server, do i just pull the repos
and restart the services, or do i need to do a build again?

Yep! Here are the basic steps which will work for 99% of code changes:

http://kegbot.org/docs/server-guide/upgrade-kegbot.html#upgrade-procedure

Since this change is just to the templates, there's no need to do migrate (datbase updates), kb_regen_stats, or collectstatic. But it doesn't hurt..

from kegbot-server.

markrickert avatar markrickert commented on June 30, 2024

I'm running a clone from github, not pip. I guess what I'm asking is that after i do a pull, do i need to run ./setup.py or can i just restart the services... does the code run from my cloned location or from somewhere else?

from kegbot-server.

mik3y avatar mik3y commented on June 30, 2024

That's covered in step 2 :) -- ./setup.py develop is what you need.

(And actually, when you installed with "develop", most code runs from your cloned location, so again you might not even need to do this step, depending on the update. If I introduce a new third party dependency, however, you definitely need to do it in order to bring it in. So to keep the instructions simple and easy to remember, I'd just do it out of habit.)

from kegbot-server.

markrickert avatar markrickert commented on June 30, 2024

Cool, Thx. I've been a professional software engineer for over 10 years, but this is, surprisingly, my first experience with both django & python!

from kegbot-server.

mik3y avatar mik3y commented on June 30, 2024

Cool, Thx. I've been a professional software engineer for over 10 years, but
this is, surprisingly, my first experience with both django & python!

It will get less weird :)

from kegbot-server.

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.