GithubHelp home page GithubHelp logo

Comments (5)

jmstriegel avatar jmstriegel commented on August 17, 2024

You can add a js file to your app's media folder (folder icon in editor).
Then tweak the includes in the HTML head tag. That makes it specific to the
project you're working on.

Secret trick: If you end up doing this a lot, go to
/app/editor/edit/boilerplate and make your new apps default to exactly how
you want them.
On Nov 8, 2013 9:29 PM, "R. S. Doiel" [email protected] wrote:

I'd like to use Coder to share/prototype some YUI3 projects on a Raspberry
Pi. Since coder is using SSL YUI should be installed locally to the Pi.
Exploring the file system via SSH I can put a copy in static common but
this seems like heavy handed. It also appears to limit the advantages of
import/export since my Pi becomes unique to the others. I don't see docs on
the file system organization or plans. What is the right place to install
files like this and still allow import/export of projects
with other Coders? Or should I just fork the project, add the current YUI3
in static/common and do a pull request?


Reply to this email directly or view it on GitHubhttps://github.com//issues/57
.

from coder.

rsdoiel avatar rsdoiel commented on August 17, 2024

Thanks for the fast response. This sounds like the ticket I'll give it a
try.

All the best,

Robert

On Fri, Nov 8, 2013 at 6:42 PM, Jason Striegel [email protected]:

You can add a js file to your app's media folder (folder icon in editor).
Then tweak the includes in the HTML head tag. That makes it specific to
the
project you're working on.

Secret trick: If you end up doing this a lot, go to
/app/editor/edit/boilerplate and make your new apps default to exactly how
you want them.
On Nov 8, 2013 9:29 PM, "R. S. Doiel" [email protected] wrote:

I'd like to use Coder to share/prototype some YUI3 projects on a
Raspberry
Pi. Since coder is using SSL YUI should be installed locally to the Pi.
Exploring the file system via SSH I can put a copy in static common but
this seems like heavy handed. It also appears to limit the advantages of
import/export since my Pi becomes unique to the others. I don't see docs
on
the file system organization or plans. What is the right place to
install
files like this and still allow import/export of projects
with other Coders? Or should I just fork the project, add the current
YUI3
in static/common and do a pull request?


Reply to this email directly or view it on GitHub<
https://github.com/googlecreativelab/coder/issues/57>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-28113032
.

from coder.

rsdoiel avatar rsdoiel commented on August 17, 2024

Ok, I'm playing around with this on my Pi. I wound up manually adding the files via SSH to the media folder. Export doesn't pickup the files. I believe this is because they are nested in sub directories. I think what I should try is a couple of things. First if I modify your upload function to handle zip archives that could remove the need of someone using SSH (and guessing their coder password also resets the pi user password). The second part would be to have the export function include any directories insider of media since I'm pretty sure that is why the don't make the export.

I've forked your repo. I'll toy around with stuff on my spare Pi (it is so cool they are affordable) then submit a pull request if I come up with something useful.

All the best,

Robert

from coder.

sebasribas avatar sebasribas commented on August 17, 2024

I'm trying out getting FramerJS to work with Coder but I can't either.
I guess it'd be easier if we could drag&drop folders to the Media explorer to keep the structure?
But I believe that Framer's dependencies are inside the js files it provides, so I would have to go manually as jmstriegel commented.

Thanks.

from coder.

rsdoiel avatar rsdoiel commented on August 17, 2024

Pi/Coder is so intriguing as a teaching platform but also for quick
experiments where jsbin/jsfiddle aren't as appropriate (e.g. I'm on the
commuter train with horrible 3g connections). I think it would be
interesting to integrate TogetherJS from Mozilla or even include a simple
Browser ID module so teach integrating that could be made easy. The Coder
team did such a great job that it makes me want to push it even further.

All the best to everyone!

On Thu, Nov 14, 2013 at 8:32 AM, sebasribas [email protected]:

I'm trying out getting FramerJS to work with Coder but I can't either.
I guess it'd be easier if we could drag&drop folders to the Media explorer
to keep the structure?
But I believe that Framer's dependencies are inside the js files it
provides, so I would have to go manually as jmstriegel commented.

Thanks.


Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-28498636
.

from coder.

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.