ArmandoAmador / Empirical-Core

Empirical-Core is our web app for managing students, assigning activities, and viewing results. Core seamlessly incorporates 3rd party applications via the Empirical API.

Home Page:http://www.quill.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Climate Test Coverage Build Status

Welcome to Empirical Core

Fork and Clone this repository to submit a Pull Request.

Getting Started: Visit our Community Page. The Mailing List, Chat, Issues, and Docs can all be accessed from the community page.

CLA: Please register an account & sign our CLA.

Empirical Easy Install

Here is a guide to Empirical Core that makes installation and setup easy.

If you want a simple guide to install Empirical Core, then you've come to the right place! Here's the step-by-step process to get Empirical Core running on your system:

  1. Download and install rbenv (or another Ruby version manager of your choice). You need to have Ruby version 2.3.1 installed in order to use Empirical Core. The best way to make sure you have version 2.3.1 is to follow the README and wiki of the Ruby version manager that you download.

    If you decide to use rbenv, then homebrew has a really great and easy-to-use setup and install process:

    1. brew update
    2. brew install rbenv ruby-build
    3. echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
    4. Close and reopen your terminal.
  2. Download and install postgres, the database engine Empirical Core uses. The easiest way to get started with this is to download postgres.app.

    If you're more comfortable with installing custom software, you can use homebrew to download and install postgres instead using the following commands:

    1. brew update
    2. brew install postgres
    3. Follow the instructions on the resulting info screen.
  3. Navigate to the directory where you'd like Empirical Core to live, then run the following command to clone the Empirical Core project repository:

    git clone https://github.com/empirical-org/Empirical-Core.git

  4. Use cd Empirical-Core to change directory into the Empirical Core repository.

  5. Install Redis. You can download it directly.

    Alternatively, you can use homebrew to install it by running the following commands:

    1. brew update
    2. brew install redis
  6. To run js: true/:js-tagged feature specs, install PhantomJS.

  7. Install bundler with gem install bundler.

  8. Install the bundle with bundle install.

  9. In the config folder, delete the ".example" extension from database.yml.example so that the filename reads "database.yml" by running mv database.yml.example database.yml.

  10. Set up your database by running rake empirical:setup.

  11. Run Redis with the command redis-server

  12. Run a second Redis instance (for caching) with the command redis-server --port 7654.

  13. Run a third Redis instance (for testing) with the command redis-server --port 6378.

  14. Install npm by running brew install npm.

  15. Run npm installer with the command npm install && cd ./client && npm install.

  16. Make sure to navigate back out of the "client" folder by running cd ..

  17. Run the server locally.

    1. Run the server using the command foreman start -f Procfile.static.
    2. Navigate your browser to localhost:3000 and you should see Empirical-Core pull up properly!
    3. When you're done with the server, use Ctrl-C to break it and return to your commandline.
  18. Run the command bin/guard so that Guard run specs when you save files.

Pre-installed user accounts

The installation comes with four users, though you can create as many more as you like. The pre-installed users are:

  • A teacher, username teacher and password teacher.
  • A student, username student and password student.
  • An admin, username admin and password admin.
  • An admin, username staff and password staff.

Documentation related to specific features

About

Empirical-Core is our web app for managing students, assigning activities, and viewing results. Core seamlessly incorporates 3rd party applications via the Empirical API.

http://www.quill.org/

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 39.8%Language:Ruby 37.1%Language:CSS 12.2%Language:HTML 10.9%Language:Shell 0.0%