Closed ir-g closed 9 years ago
In your project, click the gear icon to access its settings, then click export to download a zip.
You can also import a zipped project from the main screen by clicking the create plus square, then clicking the little upload arrow inside that. On Sep 29, 2013 7:04 AM, "Isaac Reid-Guest" notifications@github.com wrote:
Is it possible to export a coder project to a zip with relevant package.json, template, js, and css?
If not, please could this be made available as a feature.
Thanks in advance, Coder is really helpful.
— Reply to this email directly or view it on GitHubhttps://github.com/googlecreativelab/coder/issues/43 .
Thanks @jmstriegel, how could I integrate an app into an express js application?
Coder is actually using express to make the node.js part of your app work. If you look at the index_handler method in the node.js tab, it takes an express request and response object. The path mapping is happening in server.js, which basically starts the server process, manages paths, and routes requests to the proper app, based on the requested url.
If you make something in Coder, and then want to take it out of there and put it in something else, it should be fairly easy to modify your exported app.js (this is the contents of the node.js tab in your app) to make this work. The details of this will be pretty custom to what you're doing.
Please could it be made possible export a coder project to a zip with a relevant package.json and app.js, so it can be executed from export, or included in an expressjs application at a set URL, ideally both functions with the same package.
Thanks in advance, Coder is really helpful.