Comments (7)
This will help the Python-Windows issue:
https://mail.python.org/pipermail/python-dev/2019-May/157586.html
https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update/
With this feature we can easily explain how to start a simple webserver for any OS.
from ml5-website.
@hx2A - yes! Thanks for these links.
I've personally switched to using the node.js http-server
npm package: https://www.npmjs.com/package/http-server
Once node.js is installed, it is as easy as:
- install the thing
npm install -g http-server
- run the server
cd /to/the/folder/and/files/you/want/to/serve
http-server
In any case, we definitely should note the options for ml5 users :)
from ml5-website.
Indeed, I also cover it in this video in case it's helpful! https://youtu.be/FjWbUK2HdCo?list=PLRqwX-V7Uu6Zu_uqEA6NqhLzKLACwU74X
from ml5-website.
Definitely helpful! We can include that in the documentation. And it looks I did not make the best choice when I ran sudo npm install
last week. :-)
from ml5-website.
@hx2A - I've started adding notes here: https://ml5js.org/getting-started/running-examples/
from ml5-website.
Great. Our documentation should also mention something about valid port numbers. Since the port number should be in the range of 1024 to 65535, beginners will get a strange error if they were to randomly pick a number like 500.
Today and tomorrow I'm busy with camp stuff and I'll continue working on this later in the week.
from ml5-website.
We now also support npm run develop
, which will automatically start a page that hosts the examples and a locally-built version of the core library, both with live/hot-reloading!
Thanks for this suggestion; it definitely influenced our direction!
from ml5-website.
Related Issues (20)
- New PoseNet ml5.neuralNetwork() tutorial placement? HOT 2
- [Website Design] Tundi's Design Proposal
- Quickstart example for NeuralNetwork not working HOT 2
- Setup issue with node v12 HOT 4
- Plan to translate this site into other languages? HOT 12
- [devOps] Change branch name from master -> main HOT 2
- inputLabels must be an array (sketch: line 46)
- Links to "getting started" and "docs" on homepage are not working - they don't point to the right page HOT 3
- p5js link is broken https://editor.p5js.org/ml5/sketches/ml5_boilerplate HOT 1
- Update the links in the community page
- BLM overlay is too large on mobile HOT 1
- Hamburger menu bottom-aligned on Reference (Docs) pages.
- Update BLMSolidarityModal to remove inline styles
- Background and foreground colors do not have a sufficient contrast ratio
- Delete docs folder HOT 2
- Code of Conduct missing on website
- Organization of ml5 examples HOT 9
- Outdated dependencies
- RIP Atom - Update to Hello ml5.js - A gentle introduction to ml5 HOT 2
- Are there requirements for the input image size?(question) HOT 7
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 ml5-website.