mturk-rails | AMT rails-based toolkit

 by   smartscenes Ruby Version: Current License: MIT

kandi X-RAY | mturk-rails Summary

kandi X-RAY | mturk-rails Summary

mturk-rails is a Ruby library. mturk-rails has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

AMT rails-based toolkit
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mturk-rails has a low active ecosystem.
              It has 0 star(s) with 0 fork(s). There are no watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              mturk-rails has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of mturk-rails is current.

            kandi-Quality Quality

              mturk-rails has no bugs reported.

            kandi-Security Security

              mturk-rails has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              mturk-rails is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              mturk-rails releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mturk-rails
            Get all kandi verified functions for this library.

            mturk-rails Key Features

            No Key Features are available at this moment for mturk-rails.

            mturk-rails Examples and Code Snippets

            No Code Snippets are available at this moment for mturk-rails.

            Community Discussions

            No Community Discussions are available at this moment for mturk-rails.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mturk-rails

            Installing ruby on rails (we use ruby 2.5.0, rails 5.1.4):. Setup config files cp config/example.config.yml config/config.yml cp config/example.secrets.yml config/secrets.yml.
            Installing ruby on rails (we use ruby 2.5.0, rails 5.1.4): Windows: http://railsinstaller.org/en MacOS: https://gorails.com/setup/osx Ubuntu: https://gorails.com/setup/ubuntu
            Setup config files cp config/example.config.yml config/config.yml cp config/example.secrets.yml config/secrets.yml
            Setup rails project From command line Run bundle install to install dependent gems Run bundle exec rake db:migrate to build/update the database (by default uses sqlite3) Run rails server to start an instance of the server running at localhost:3000. Test with existing MTurk task select_item Run bundle exec rake mturk:develop[select_item] Check http://localhost:3000/experiments/select_item To get list of rake tasks rake -D From Intellij Add Ruby plugin (File -> Settings -> Plugins) Add installed Ruby as SDK (Module settings -> SDKs) Add rails as a RubyRails module (Module settings -> Add New Module (Ruby on Rails Module)) Run bundler install (Tools->Bundler->Install) Run db:migrate (Tools->Run Rake Task) Run Development:rails (run applications dropdown) Test with existing MTurk task select_item Develop the MTurk task: mturk:develop select_item (Tools->Run Rake Task) Check http://localhost:3000/experiments/select_item Looking at DB from Intellij Add Database Navigator plugin Drag rails/db/development.sqlite3 over to the Database pane (on right - if Intellij didn't create it for you) Double-click on the datasource to install missing drivers Note: When running rake tasks or the server, make sure that under Run/Debug Configurations -> Bundler -> Run the script in context of the bundle (bundle exec) is checked. Otherwise, you may get: rake aborted! Gem::LoadError: You have already activated rake 10.4.0, but your Gemfile requires rake 10.1.0. Prepending bundle exec to your command may solve this.
            Get Ruby on Rails if not already installed (http://railsinstaller.org/en for Windows, https://gorails.com/setup/osx for Mac OS X, or https://gorails.com/setup/ubuntu for Ubuntu/Linux). You will also need to install mysql (brew install mysql for Mac OS X, through apt-get in Linux, etc.). Clone this repository onto your machine. Get a copy of the config/config.yml file from your teammates or look at the config/example.config.yml file for some directions on how to create your own from scratch. The values in this file are secrets, so you ABSOLUTELY don't want to put this file under version control or make it publicly available. Starting with Rail 4.x, you will also need to have a config/secrets.yml. For development, you can just copy config/example.secrets.yml to config/secrets.yml. In the config.yml, for local development purposes you can leave HOST_BASE_URL set to localhost:3000. For running a production instance on MTurk, make sure the HOST_BASE_URL starts with https: and that you have a proper SSL certificate for your server. Run bundle install to get all the ruby gems you need. If you have problems running bundle install, try removing your Gemfile.lock, and make sure you have command-line build tools (e.g., Xcode tools) installed (necessary for gems that need to build native extensions). Run bundle exec rake db:migrate to build/update the database. Run rails server to start an instance of the server running at localhost:3000. Point your browser to http://localhost:3000 to visit the app.
            Get Ruby on Rails if not already installed (http://railsinstaller.org/en for Windows, https://gorails.com/setup/osx for Mac OS X, or https://gorails.com/setup/ubuntu for Ubuntu/Linux). You will also need to install mysql (brew install mysql for Mac OS X, through apt-get in Linux, etc.).
            Clone this repository onto your machine
            Get a copy of the config/config.yml file from your teammates or look at the config/example.config.yml file for some directions on how to create your own from scratch. The values in this file are secrets, so you ABSOLUTELY don't want to put this file under version control or make it publicly available. Starting with Rail 4.x, you will also need to have a config/secrets.yml. For development, you can just copy config/example.secrets.yml to config/secrets.yml.
            In the config.yml, for local development purposes you can leave HOST_BASE_URL set to localhost:3000. For running a production instance on MTurk, make sure the HOST_BASE_URL starts with https: and that you have a proper SSL certificate for your server.
            Run bundle install to get all the ruby gems you need. If you have problems running bundle install, try removing your Gemfile.lock, and make sure you have command-line build tools (e.g., Xcode tools) installed (necessary for gems that need to build native extensions).
            Run bundle exec rake db:migrate to build/update the database
            Run rails server to start an instance of the server running at localhost:3000. Point your browser to http://localhost:3000 to visit the app.
            Error installing nokogiri on Mac OS. Make sure you have xcode command line tools installed. Error during bundle install. Try removing your Gemfile.lock Also, make sure that you have command-line build tools (e.g., Xcode tools) installed for gems that need to build native extensions. SSL error during bundle install. Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B. Try modifying Gemfile to use http instead of https source 'http://rubygems.org' See http://railsapps.github.io/openssl-certificate-verify-failed.html. Check that your ruby version is ruby-2.0.0. Use rvm to manage and install ruby-2.0.0. You just set up a new server, and everything should be working, but you get "The page you were looking for doesn't exist.". If you have been testing with a different instance, try a different browser or incognito mode. You were probably logged in, and the new server doesn't know about that user. If incognito mode works, create a user and login.
            Error installing nokogiri on Mac OS Make sure you have xcode command line tools installed xcode-select --install
            Error during bundle install. Try removing your Gemfile.lock Also, make sure that you have command-line build tools (e.g., Xcode tools) installed for gems that need to build native extensions
            SSL error during bundle install Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B Try modifying Gemfile to use http instead of https source 'http://rubygems.org' See http://railsapps.github.io/openssl-certificate-verify-failed.html
            Error precompiling assets. Check that your ruby version is ruby-2.0.0. Use rvm to manage and install ruby-2.0.0.
            You just set up a new server, and everything should be working, but you get "The page you were looking for doesn't exist." If you have been testing with a different instance, try a different browser or incognito mode. You were probably logged in, and the new server doesn't know about that user. If incognito mode works, create a user and login.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/smartscenes/mturk-rails.git

          • CLI

            gh repo clone smartscenes/mturk-rails

          • sshUrl

            git@github.com:smartscenes/mturk-rails.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link