Glad to help you, Lucas!
$35 for the server with pg is really cool!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you
oh, and btw, I have the whole server running off of a $35 Raspberry Pi 3b+,
with PostGreSQL 9, Web2Py 2.17.2, and Nginx. I tricked the wifi of my
institution to let the raspberry access and even though its a local
address, students can access their code and view their results from
whatever dev
alright, thank you for your help. I've broken it down to its most basic
level and its damn working. I'll post the essentials here. remember this
is for a class to teach them the basics of programming. yeah, fun
students...
under the DAL I setup a simple table to store the code:
NE = IS_NOT_
Have a look at the manual at CM site. You don't have to do any DOM
manipulation, CM does all that stuff. There are setValue and getValue
CM-functions that you need to put the text into and get it back from the editor
at any time.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Doc
well, I know that web2py is reading a py/txt file and uploading that into
CodeMirror when the page is loaded to be edited under admin. then when
saved it writes it back to the file to update it.
I'd like to get the py/txt from a text field in PostgreSQL table. and then
when its saved, it will
> I'd like to be able to store and manage their code (text) as a text field
> under PostgreSQL ...
... bring them to a default listing of their previous or current code
> projects, click on a project or start a new project ..
What do you mean under the code project - web2py app or just a
ok, I see that CodeMirror is the base editor. is there a web2py api of
some sort that would allow us to inject whatever code, from whatever
source, and then save and send that updated code to whatever source? so
that the entire functionality of our web2py editor is still the same and
working
7 matches
Mail list logo