blockpy-edu / blockpy

Blockly that's more Python than JavaScript, powered with Skulpt
Apache License 2.0
398 stars 133 forks source link

Question: How to run locally. #9

Closed tildebyte closed 9 years ago

tildebyte commented 9 years ago

As subject. I've cloned locally, but I'm at a loss as to how to start it up.

acbart commented 9 years ago

Great question! I need to update the readme with instructions. Currently at lunch with family, should be home soon and I can fix it. Should be straightforward to open blockpy.html but you may have to run the build commands for Skulpt and blockly. Do you just want to try out the interface, or are you also interested in the server?

tildebyte commented 9 years ago

Well, I did look at the interface, but it seemed like there was some functionality missing...? I assumed due to the server being unavailable.

acbart commented 9 years ago

I'm guessing the missing functionality was skulpt not being built correctly. I'm writing the documentation now, and also pushing a change that'll fix my most recent additions to skulpt (I've been instrumenting the parser to report line/column ending for tokens). This shouldn't be too much longer, so I'll be interested in hearing your experiences with things so far. Most of my use has been targeted to our classroom, so I've been the only one touching things.

tildebyte commented 9 years ago

Cool! I'll take a look. My 9-yr-old's bio-dad will probably run through it with him a bit (he's been exposed to Squeak, I believe).

acbart commented 9 years ago

Okay, so I just pushed some missing libraries (bad gitignore) that should make everything work. Please pull and take a look at your convenience. I'll be very interested in hearing what they think. Squeak/Scratch/Snap have a very strong visual/arts/music/creativity bent that is different from our vision of data science, but the interface itself is meant to be comparable.

tildebyte commented 9 years ago

Will do.

tildebyte commented 9 years ago

OK, I think I did everything correctly (although remembering that the presence of a requirements.txt means pip install -r requirements.txt took me a while), but I don't understand start blockpy.html...

acbart commented 9 years ago

Sorry, windows terminology. Simply open blockpy.html in your browser! On Sep 19, 2015 8:01 PM, "tildebyte" notifications@github.com wrote:

OK, I think I did everything correctly (although remembering that the presence of a requirements.txt means pip install -r requirements.txt took me a while), but I don't understand start blockpy.html...

— Reply to this email directly or view it on GitHub https://github.com/RealTimeWeb/blockpy/issues/9#issuecomment-141721133.

tildebyte commented 9 years ago

Ah, derp. Been doing cross-platform for so long, I'm starting to forget which things go where.

tildebyte commented 9 years ago

Hmm. I still don't think that the server is working properly. I have Loading... stuck in the top right of the blocks "frame". However, the example code does run.

acbart commented 9 years ago

The server has different instructions, but it's not very exciting yet since it doesn't do any saving. Everything with Blockpy works locally, except saving and some of the advanced real-time functionality for accessing weather data (uses cache data otherwise), but those aren't ready yet. The main goal is to keep everything local if possible. The server will be handling LTI stuff mostly. On Sep 19, 2015 8:12 PM, "tildebyte" notifications@github.com wrote:

Hmm. I still don't think that the server is working properly. I have Loading... stuck in the top right of the blocks "frame". However, the example code does run.

— Reply to this email directly or view it on GitHub https://github.com/RealTimeWeb/blockpy/issues/9#issuecomment-141721531.

tildebyte commented 9 years ago

OH! OK, cool.