Skip to content

A simple CLI for interative classes. Made for teaching.

License

Notifications You must be signed in to change notification settings

erickduran/randomsito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randomsito

A simple CLI for interative classes. Made for teaching.

Usage

Prerequisistes

  • Golang
  • Docker (or a MongoDB)

Installation

go get github.com/erickduran/randomsito

Run

To run, first start your MongoDB locally using Docker:

docker run -p 27017:27017 -v ~/data:/data/db mongo:3.6-xenial

You may replace ~/data with some place where you want your data to be persisted. You can run without the volume if you just just to test without saving any data.

Finally, run:

randomsito

This CLI is only intended for local usage at the moment, as MongoDB authentication has not been implemented.

Configuration

If you want to define your configuration using a file, you can define ~/.randomsito.yaml as:

language: en
mongodb_host: localhost
mongodb_port: 27017
mongodb_name: randomsito

Project status

Work in progress. Pending features:

  • Add auth to MongoDB
  • Grading mode
  • Quiz mode
  • Disable students
  • Remove students
  • Import/export functionalities

Author

Copyright © 2020, Erick Durán.

About

A simple CLI for interative classes. Made for teaching.

Topics

Resources

License

Stars

Watchers

Forks

Languages