Comments (7)
if you're following the instructions at https://andrewcooke.github.io/choochoo/ then the command is installed in the virtual environment. you need to enable the environment each time you start a new shell. do source env/bin/activate
.
from choochoo.
Hi - Thanks for the tip. I had to do some extra steps to set up the virtual env with 3.7 specifically
sudo apt-get install python3.7-venv
python3.7 -m venv env
source env/bin/activate
python3.7 -m pip install choochoo
ch2 web start
It looks like it's now running on port 8000 on a remote machine i have, but when I navigate to the remote machines ip:8000 I do not get a response. Is it only available via localhost?
Thanks for the quick response
from choochoo.
huh. what distro is that? i'll add it to the instructions (i thought venv was part of the standard python distribution, but your distro seems ot have it separate).
from choochoo.
Just checked, I believe the distro is a bit older and needs to be updated which may have caused the issue - looks like version 16.04
Any idea on why I am unable to access the web interface on a client machine?
from choochoo.
sorry, missed this.
ch2 web start -h
will show you the options for ch2 web start
. the default for --bind
is localhost which means that it is only visible locally. if you change that to --bind 0.0.0.0
then it will be visible on all network addresses. or if you know the correct address you can specify that.
there may also be issues with firewalls which are beyond my control...
from choochoo.
i could make 0.0.0.0 the default but it's a bit of a security risk.
from choochoo.
Hi - just actually figured this out by looking at the logs and seeing that it binds to localhost by default. I was able to specify the machines IP address and then was able to access it on a remote machine.
However, i get the same error with not being able to initially configure. The system hangs at "Please wait writing data.". If i manually set it up with the dev command you gave me, the same hanging results are given when trying to make/save any changes in the web interface.
Thanks
from choochoo.
Related Issues (20)
- Add 'motivational' statistics HOT 1
- Add kit to web interface HOT 1
- Document web interface HOT 1
- Add 'sanity check' to web interface HOT 1
- Error loading activities in 0.29.0 HOT 1
- No module named 'ch2.migrate' in version 0.31.0 HOT 5
- Base ignored on web upload HOT 1
- More efficient NearbyCalculator HOT 1
- Feature request: add activity download from garmin HOT 1
- Unable to Initially Configure HOT 19
- Specify bind address for Jupyter HOT 1
- Latest docker image fails to start HOT 6
- Update documentation and/or automate dependency installation on initial setup HOT 8
- Display Version Number
- Import Ordering (Slightly) Incorrect
- On Version Update Jupyter Dies (Missing Notebook Dir, Created Later)
- Error When Creating New Database
- DB schema missing after setup rework. HOT 3
- cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from choochoo.