Closed Bug 1112091 Opened 10 years ago Closed 10 years ago

Run applications independently

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: daleharvey, Unassigned)

References

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

I have a local workflow involving symlinking and python -m SimpleHTTPServer, it lets me develop some of the simpler apps or at least the UI by just doing `./bin/run-app.js dev_apps/feedback` and visiting http://127.0.0.1:5000
This is a simple script that lets me avoid running the entire of DEBUG=1 type server, it replicates what an app will look like running from the plain web and is hugely useful for developing locally
Assignee: nobody → dale
Attachment #8537209 - Flags: review?(21)
Fx nightly support is kind of broken these days (addons get disabled by default, you have to manually enable httpd in about:addons), but you could do that with:
  $ DEBUG=1 make preferences extensions
  $ firefox -profile profile-debug/
And then opening apps with app://xxx.gaiamobile.org.

We have httpd bundled in Firefox and I'm starting to wonder if we should start using it from WebIDE.
It could be extremely handy to start working on hosted apps within Fx desktop.
But for gaia apps it is unclear as they are:
 1) packaged 
 2) certified
 3) uses a bunch of API that do not exists in Firefox desktop (so that we had to come up with Mulet)
Yeh I dont want to fix the DEBUG type workflow, this is purely to reproduce when users visit the application directly in the browser, most apps are broken but they really dont need to be (the browser UI previously used to run fine in this manner)
Whiteboard: [systemsfe]
deassigning since I dont want to push this right now, but I think its useful
Assignee: dale → nobody
Attachment #8537209 - Flags: review?(21)
Clearing review and closing, seems lack of interest
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: