Skip to content

Morriar/Missions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

28de15b · May 14, 2018
Jan 5, 2018
May 14, 2018
May 14, 2018
Nov 3, 2016
May 14, 2018
May 14, 2018
Nov 2, 2016
Feb 3, 2017
Feb 9, 2017
Aug 27, 2016
Feb 6, 2017
Oct 25, 2016
May 14, 2018
Jan 5, 2018
Oct 25, 2016
Oct 25, 2016
Sep 2, 2016
Sep 2, 2016
May 14, 2018

Repository files navigation

Missions

A hacker-rank like platform for e-learning.

Building

Run in console:

make

Configuring

See the app.ini file to configure the popcorn app:

  • app.host: app hostname
  • app.port: app port
  • app.root_url: used for redirect/call back from 3rd-party authentications. To use if behind a reverse proxy or if host is 0.0.0.0

Running

Run in console:

make run

Testing

Use db_loader to populate the database with test data.

make populate

Docker

  1. install docker. https://docs.docker.com/engine/installation/
  2. install docker-compose. https://docs.docker.com/compose/install/
  3. run docker-compose up in the root directory; (ctrl-C to close)
  4. open http://localhost:3000

By default, a localhost server with shib authentication is used. Specific configuration should be provided in app.ini. Unless such a specific file, app.docker.ini is used.

See Dockerfile, docker-compose.yml and app.docker.ini for details.

Contributing

The Missions team is happy to receive contributions and suggestions. Give a look at the Github repo https://github.com/Morriar/Missions.

Code style

Mission enforces the following code style rules:

  • All the Nit coding standards
  • The do is on the same line as the function declaration