Coder Social home page Coder Social logo

blockcomet-dev's Introduction

BlockComet Backend

BlockComet Developer's Guide

Setup Instructions

Prerequisites

Instructions for Mac, Windows, Linux

Installation and Usage (Local Development)

1. Clone this repository

git clone https://github.com/dcsil/blockcomet-dev

2. Run bin/bootstrap (Ensure you are in the root folder)

This should install the languages & backend dependencies

./bin/bootstrap

3. Run the following commands:

cd server
poetry shell

Then, run:

poetry install
poetry run uvicorn server.main:app --host 0.0.0.0 --port 8080

4. (Optional) To setup docker container for the server, run the following command (from the server directory):

./setup_server.sh

Container should now be running on http://localhost:5001/

(Optional) Running tests

For all backend tests (From root folder):

./bin/test

For all backend tests with coverage stats (From root folder):

./bin/test_coverage

Resources

BlockComet - Google Drive

blockcomet-dev's People

Contributors

chinmayanathany avatar rb127 avatar shahmiru avatar dependabot[bot] avatar jules2689 avatar

Stargazers

 avatar

Watchers

Anirudh B avatar

Forkers

shahmiru

blockcomet-dev's Issues

Some workflows have no defined timeouts or are not using self-hosted

This repo has workflows that have no defined timeouts and/or are not using self-hosted.

We use self hosted runners to avoid overage costs associated with GitHub Actions. However, we don't have a lot of workers to handle all of the load.
To ensure a single build doesn't spend hours and monopolize our workers, we limit each job to 20 minutes.
Please add a timeout to your jobs. We will disable your actions until you add them.

Your build may also be missing self-hosted in the runs-on field.

Docs: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
Example:

jobs:
  build:
    runs-on: self-hosted # This is required
    timeout-minutes: 20 # Add this line here

Affected Workflows:

Workflow Path Job Re-enable
.github/workflows/jest.yml build https://github.com/dcsil/blockcomet-dev/actions/workflows/jest.yml
.github/workflows/pytest.yml test https://github.com/dcsil/blockcomet-dev/actions/workflows/pytest.yml

Disabling GitHub Actions

Congratulations on finishing the course!

To make sure we have have workers for the next term, we have automatically disabled your repository's actions.

Feel free to make this repo public or fork to your own org, but we do ask that you leave a copy in the DCSIL org :)

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.