GithubHelp home page GithubHelp logo

serbel97 / askalot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from askalotcqa/askalot

0.0 0.0 0.0 33.76 MB

Askalot CQA System of Next Generation

Home Page: https://askalot.fiit.stuba.sk/demo

License: Other

Ruby 58.83% CoffeeScript 1.73% HTML 22.90% CSS 2.63% Shell 0.01% SQLPL 13.28% JavaScript 0.62%

askalot's Introduction

Askalot

Askalot is a CQA (Community Question and Answer) system of next generation.

Build Status Maintainability Test Coverage

Requirements

  • Ruby 2.6
  • Rails 4.2
  • PostgreSQL 12.4
  • Elasticsearch 6.8

Installation

Clone and install.

git clone [email protected]:teamnaruby/askalot.git
cd askalot
bundle install

Copy and edit configuration files.

cp config/configuration.{yml.example,yml}
cp config/database.{yml.example,yml}
cp config/newrelic.{yml.example,yml}

There are two types of environments: university and mooc which are currently implemented as fiit and edx environments. You have to use this as suffix to standart development, test, staging, demo and production environment.

Create database, load schema and seed the database.

RAILS_ENV=fiit_development rake db:create db:structure:load DB_STRUCTURE=components/university/db/structure.sql db:seed
RAILS_ENV=edx_development rake db:create db:structure:load DB_STRUCTURE=components/mooc/db/structure.sql db:seed

Testing

Run specs with:

RAILS_ENV=fiit_test rake db:create db:structure:load DB_STRUCTURE=components/university/db/structure.sql
RAILS_ENV=fiit_test bundle exec rake rspec:test
or
RAILS_ENV=edx_test rake db:create db:structure:load DB_STRUCTURE=components/mooc/db/structure.sql
RAILS_ENV=edx_test bundle exec rake rspec:test

Tests will run either shared+university or shared+mooc tests.

The mapping of environments to the engines is in the config/environment.yml.

Contributing

  1. Fork it.
  2. Create your feature branch (git checkout -b new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin new-feature).
  5. Create new Pull Request.

License

This software is released under the MIT License.

askalot's People

Contributors

adrianhuna avatar dependabot[bot] avatar evahni8 avatar filipjandura avatar isrba avatar jharinek avatar jsuchal avatar m1k1o avatar marekgrznar avatar nouspiro avatar pavolzbell avatar peterpal avatar racike avatar smolnar avatar tibor1 avatar tino415 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.