Skip to content

CLI App submission for the CoronaSafe Challenge 2020 (National Engineering Leadership Cadre for Public Services)

Notifications You must be signed in to change notification settings

Manmohan15214/CoronaSafe-Challenge-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoronaSafe Challenge 2020

This CLI App has been made as per the required specs.

Installation

After Unzipping the content, you'll be greeted with a Source File 'todo.cpp' which needs to be substituted against the files that was provided along with the C++ repo from the Challenge Page.

Usage (Copied)

Getting started

  1. Install CPP: You should have build support for cpp on your system.

  2. You are expected to write the code in todo.cpp file.

  3. You should be able to build the app by running make app.

  4. Once you are done with the changes you should be able to execute the todo app by running the following command from the terminal.

    On Windows:

    .\todo.bat
    

    On *nix:

    ./todo.sh
    

Run Automated Tests

1. Install Node.js

You need to have npm installed in your computer for this problem. It comes with Node.js and you can get it by installing Node from https://nodejs.org/en/

2. Install dependencies

Run npm install to install all dependencies.

3. Create Create symbolic link to the executable file

On Windows

To create a symbolic link on Windows, you'll need to run either the Windows Command Prompt, or Windows Powershell with administrator privileges. To do so, right-click on the icon for Command Prompt, or Powershell, and choose the "Run as Administrator" option.

Command Prompt:

> mklink todo todo.bat

Powershell:

> cmd /c mklink todo todo.bat

On *nix:

Run the following command in your shell:

$ ln -s todo.sh todo

4. Try running tests.

Now run npm test and you will see all the tests failing. As you fill in each functionality, you can re-run the tests to see them passing one by one.

A Note about / for Windows Users

In the following sections, you'll see many commands prefixed with ./, or paths containing the / (forward-slash) character.

If you're using the Windows Command Prompt, then you'll need to replace / with \ (back-slash) for these commands and paths to work as expected.

On Windows Powershell, these substitutions are not required.

License

MIT

About

CLI App submission for the CoronaSafe Challenge 2020 (National Engineering Leadership Cadre for Public Services)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published