Code Monkey home page Code Monkey logo

Comments (4)

BBeran avatar BBeran commented on May 25, 2024

On Mac, Linux instead of this

./startup.sh

you can start it this way if you want to write to a log file

nohup ./startup.sh 0<&- &> my.log.file &

if you don't want to write errors to a log file

nohup ./startup.sh 0<&- &>/dev/null &

On Windows you can use the method described here for RServe that uses Windows shell script

https://community.tableau.com/docs/DOC-9916

from tabpy.

rvschaffer avatar rvschaffer commented on May 25, 2024

To run TabPy in Virtual Environment, the file startup.sh' contents would be:
source my-tabpy-env/bin/activate
tabpy
Is this correct?

from tabpy.

rvschaffer avatar rvschaffer commented on May 25, 2024

How do you stop the service later? I tried to deactivate the virtual environment a few days later, and it says:
-bash: deactivate: command not found

from tabpy.

0golovatyi avatar 0golovatyi commented on May 25, 2024

@rvschaffer For "background" service on Linux/mac check screen command - https://linux.die.net/man/1/screen. For Windows read this - http://tabscifi.golovatyi.info/2021/01/how-to-run-tabpy-as-windows-service/

deactivate command is for virtual environment, not for service itself. Some reading on that - http://tabscifi.golovatyi.info/2020/11/running-tabpy-with-python-virtual-environment/.

from tabpy.

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.