Skip to content
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
Merged

standalone Eve apps #571

merged 30 commits into from Nov 30, 2016

Conversation

ibdknox
Copy link
Contributor

@ibdknox 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.

Copy link
Contributor

@joshuafcole joshuafcole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍶 ♐ 🌚

@ibdknox ibdknox merged commit d368c32 into master Nov 30, 2016
@ibdknox ibdknox deleted the app-loading branch November 30, 2016 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants