https://github.com/neo4j-examples/ruby_code_analytics
A Rails application for browsing Ruby code's execution, AST, and object space
https://github.com/neo4j-examples/ruby_code_analytics
Last synced: about 2 months ago
JSON representation
A Rails application for browsing Ruby code's execution, AST, and object space
- Host: GitHub
- URL: https://github.com/neo4j-examples/ruby_code_analytics
- Owner: neo4j-examples
- Created: 2015-12-17T07:50:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-12T08:03:00.000Z (over 9 years ago)
- Last Synced: 2024-04-18T13:50:28.603Z (about 1 year ago)
- Language: Ruby
- Size: 73.2 KB
- Stars: 5
- Watchers: 9
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ruby_code_analytics
This is a Rails app which allows you to run some code which you can subsequently analyze. The data is stored in a Neo4j database and displayed via the app's UI.
## Quick Setup
* Checkout this repository
* Run:
* `bundle install`
* `rake neo4j:install[community-latest]`
* (optionally) `rake neo4j:config[development,]` to change the port Neo4j runs on
* `rake neo4j:start`
* `rails runner run.rb` to analyze the code in run.rb (feel free to change the code within the `record_execution` block)
* Start Rails (`rails server`)
* Visit [http://localhost:3000](http://localhost:3000)## Model
SCREENSHOTS HERE
See the [neolytics gem's README](https://github.com/neo4jrb/neolytics) for some example queries that you could run in your database.
`TODO: SHOW EXAMPLE OUTPUTS OF QUERIES BELOW`