Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sailing Downstream

GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status

Welcome to the Sailing Downstream repository! This repository contains various tasks meant for mentorship purposes, covering different programming languages and tools. Below you will find instructions on how to set up, run, and test each task.

Table of Contents

Overview

This repository is designed to help you practice and enhance your programming skills through various tasks. Each task is organized into its own directory with the necessary files to complete it.

Prerequisites

Before running any tasks, make sure you have the following installed on your system:

  • Node.js (for JavaScript tasks)
  • OCaml (for OCaml tasks)
  • Python (for Python tasks)
  • A terminal or command-line interface

You may also need specific package managers or tools such as npm, opam, or pip for dependency management.

Tasks

JavaScript Task

Directory: javascript_task/

This task involves working with JavaScript. To get started:

  1. Navigate to the javascript_task directory:
    cd javascript_task
  2. Install dependencies:
    npm install
  3. Run the task:
    node index.js

OCaml Task

Directory: ocaml_task/

This task is centered around OCaml. To run the OCaml task:

  1. Navigate to the ocaml_task directory:
    cd ocaml_task
  2. Install dependencies using opam:
    opam install . --deps-only
  3. Build and run the task:
    dune exec ./main.exe

Python Task

Directory: python_task/

This task focuses on Python. Follow these steps to run the Python task:

  1. Navigate to the python_task directory:
    cd python_task
  2. Install dependencies:
    pip install -r requirements.txt
  3. Run the task:
    python main.py

Running Tests

Each task includes its own test suite. To run the tests:

  • JavaScript Task:
    npm test
  • OCaml Task:
    dune runtest
  • Python Task:
    pytest

Make sure to navigate to the appropriate directory before running the tests.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request with your changes. Ensure that all tests pass and that your code adheres to the project's style guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages