New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standalone Eve apps #571

Merged
merged 30 commits into from Nov 30, 2016

Conversation

Projects
None yet
3 participants
@ibdknox
Copy link
Contributor

ibdknox commented Nov 17, 2016

This PR includes the changes necessary to allow for standalone Eve apps:

  1. Running eve with a file as an argument will cause Eve to run without loading the editor.
  2. Static file serving for the assets/ directory relative to where eve is run
  3. Ensuring a standalone app can't call into scary editor methods like eval
  4. Making the server database per http connection, allowing your program to run per http request and not worry about what other requests might be in flight

With 4 it's now possible to write json apis and such in Eve as each new http request spins up an Eve evaluation that you can optionally choose to handle. If you don't, index.html is sent and the normal Eve flow kicks off.

joshuafcole and others added some commits Nov 17, 2016

allow apps to load without the editor and make the server database us…
…eful

Signed-off-by: Chris Granger <ibdknox@gmail.com>

joshuafcole and others added some commits Nov 23, 2016

Pull config out into module, add npmignore, update build phase for pa…
…ckaging + npm3, fix various url-related bugs
Fix crash when loading nonexistent document, add getRelativePath, don…
…t traverse into node_modules when finding workspace files
Move document saving into eveSource and separate runtimeOwner and con…
…trolOwner, fixing saving external documents to disk
@joshuafcole
Copy link
Contributor

joshuafcole left a comment

🍶 ♐️ 🌚

@ibdknox ibdknox merged commit d368c32 into master Nov 30, 2016

1 check passed

ci/circleci Your tests passed on CircleCI!
Details

@ibdknox ibdknox deleted the app-loading branch Nov 30, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment