Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Latest commit

 

History

History
56 lines (43 loc) · 1.21 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.21 KB

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