All Projects → anychart-integrations → Ruby Rails Mysql Template

anychart-integrations / Ruby Rails Mysql Template

Licence: apache-2.0
This example shows how to use Anychart library with the Ruby on Rails and MySQL database.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Ruby Rails Mysql Template

Graphjin
GraphJin - Build APIs in 5 minutes with GraphQL. An instant GraphQL to SQL compiler.
Stars: ✭ 1,264 (+10433.33%)
Mutual labels:  mysql, rails
Github Ds
A collection of Ruby libraries for working with SQL on top of ActiveRecord's connection
Stars: ✭ 597 (+4875%)
Mutual labels:  mysql, rails
Calculate All
calculate_all method for aggregate functions in Active Record
Stars: ✭ 118 (+883.33%)
Mutual labels:  mysql, rails
Database rewinder
minimalist's tiny and ultra-fast database cleaner
Stars: ✭ 685 (+5608.33%)
Mutual labels:  mysql, rails
Flipper
🐬 Beautiful, performant feature flags for Ruby.
Stars: ✭ 2,732 (+22666.67%)
Mutual labels:  mysql, rails
Ridgepole
Ridgepole is a tool to manage DB schema. It defines DB schema using Rails DSL, and updates DB schema according to DSL. (like Chef/Puppet)
Stars: ✭ 840 (+6900%)
Mutual labels:  mysql, rails
Invisible captcha
🍯 Unobtrusive and flexible spam protection for Rails apps
Stars: ✭ 851 (+6991.67%)
Mutual labels:  rails
Skeema
Schema management CLI for MySQL
Stars: ✭ 859 (+7058.33%)
Mutual labels:  mysql
Elunamangoswotlk
cMaNGOS Three (WoTLK) with Eluna
Stars: ✭ 8 (-33.33%)
Mutual labels:  mysql
Springbootunity
rabbitmq、redis、scheduled、socket、mongodb、Swagger2、spring data jpa、Thymeleaf、freemarker etc. (muti module spring boot project) (with spring boot framework,different bussiness scence with different technology。)
Stars: ✭ 845 (+6941.67%)
Mutual labels:  mysql
Chn Eolinker Ams Lite 4.0 For Php
中国最大的在线API管理平台EOLINKER 旗下API管理系统开源精简版,适合个人以及微型团队使用。
Stars: ✭ 869 (+7141.67%)
Mutual labels:  mysql
Active record doctor
Identify database issues before they hit production.
Stars: ✭ 865 (+7108.33%)
Mutual labels:  rails
Mysql Operator
Create, operate and scale self-healing MySQL clusters in Kubernetes
Stars: ✭ 855 (+7025%)
Mutual labels:  mysql
Ui Bibz
Ui Frameworks based on Bootstrap and Ruby on Rails
Stars: ✭ 9 (-25%)
Mutual labels:  rails
Netkiller.github.io
Netkiller Free ebook - 免费电子书
Stars: ✭ 861 (+7075%)
Mutual labels:  mysql
Kudo
Kubernetes Universal Declarative Operator (KUDO)
Stars: ✭ 849 (+6975%)
Mutual labels:  mysql
Simple Navigation
A ruby gem for creating navigations (with multiple levels) for your Rails, Sinatra or Padrino applications. Render your navigation as html list, link list or breadcrumbs.
Stars: ✭ 868 (+7133.33%)
Mutual labels:  rails
Database And Queries
Stars: ✭ 8 (-33.33%)
Mutual labels:  mysql
Spring Boot Rest Api Example
Implement REST APIs using Spring Boot and Spring Session.
Stars: ✭ 10 (-16.67%)
Mutual labels:  mysql
Mysql redis replication
MySQL replication to Redis cache server via Ruby, Gearman, triggers, and MySQL UDF (Ubuntu version)
Stars: ✭ 10 (-16.67%)
Mutual labels:  mysql

AnyChart - Robust JavaScript/HTML5 Chart library for any project

Ruby on Rails basic template

This example shows how to use Anychart library with the Ruby on Rails and MySQL database.

Running

To use this sample you must have Ruby installed, as described at Ruby installation page; Rails installed, if not, you can visit official Rails guide or if you don't have both ruby and rails, you can follow this tutorial; MySQL installed and running, if not please check out MySQL download page and follow instructions;

To check your installations, run the following command in the command line:

$ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] # sample output

$ mysql --version
mysql  Ver 14.14 Distrib 5.5.52, for debian-linux-gnu (x86_64) using readline 6. # sample output

$ rails -v
Rails 5.0.0.1 # sample output

To start this example run commands listed below.

Clone the repository from github.com:

$ git clone [email protected]:anychart-integrations/ruby-rails-mysql-template.git

Navigate to the repository folder:

$ cd ruby-rails-mysql-template

Set up MySQL database, use -u -p flags to provide username and password:

$  mysql < database_backup.sql

Run example:

$ rails server

Open browser at http://localhost:3000/

Workspace

Your workspace should look like:

ruby-rails-mysql-template/
    ...
    app/
        ...
        controllers/
            ..
            main_controller.rb  # main web controller
        models/
            ...
            fruit.rb    # model for fruit item
        views/
            ...
            main/
                index.html.erb  # html template to render chart
    config/
        ...
        database.yml    # database settings
        routes.rb       # web routes
    public/
        ...
        stylesheets/
            style.css       # css style
    database_backup.sql     # MySQL database dump
    README.md
    LICENSE

You can view additional information about Rails here http://guides.rubyonrails.org/

Technologies

Language - Ruby
Framework - Ruby on Rails
Database - MySQL

Further Learning

License

AnyChart Ruby on Rails/MySQL integration sample includes two parts:

  • Code of the integration sample that allows to use Javascript library (in this case, AnyChart) with Ruby on Rails and MySQL database. You can use, edit, modify it, use it with other Javascript libraries without any restrictions. It is released under Apache 2.0 License.
  • AnyChart JavaScript library. It is released under Commercial license. You can test this plugin with the trial version of AnyChart. Our trial version is not limited by time and doesn't contain any feature limitations. Check details here.

If you have any questions regarding licensing - please contact us. [email protected]

Analytics

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].