Coder Social home page Coder Social logo

kanhavvohra / algorithmic-arena Goto Github PK

View Code? Open in Web Editor NEW

This project forked from code100x/algorithmic-arena

0.0 0.0 0.0 839 KB

JavaScript 3.75% C++ 1.46% Java 2.24% Rust 1.46% TypeScript 84.02% CSS 4.93% Handlebars 0.13% Dockerfile 2.00%

algorithmic-arena's Introduction

Local Development Setup

All Sevices withing Docker

NOTE: Do not update any of the ENV files for this particular configuration. ( Except the mount path for problems )

  1. Update the ##YOUR_LOCAL_PATH_TO_PROBLEMS_DIR## in the docker-compose file
  2. Start the services
docker-compose up -d
  1. Install dependencies
pnpm install
  1. Copy env files
cp apps/web/.env.example apps/web/.env
cp packages/db/.env.example packages/db/.env
  1. Update the mount path in the apps/web/.env
  2. Migrate Database and install local package
pnpm dlx turbo db:migrate && yarn install
  1. Start Dev
pnpm dev

Own Configuration

1.Configure the judge0.conf

  • Update the POSTGRES and REDIS configurations based on your local databases
  1. Update the ##YOUR_LOCAL_PATH_TO_PROBLEMS_DIR## in the docker-compose file
  2. Start only judge0 service
docker-compose up server workers -d
  1. Install dependencies
pnpm install
  1. Copy env files and configure with the same conf you updated in the judge0
cp apps/web/.env.example apps/web/.env
cp packages/db/.env.example packages/db/.env
  1. Update the mount path in the apps/web/.env
  2. Migrate Database and install local package
pnpm dlx turbo db:migrate && yarn install
  1. Start Dev
pnpm dev

If you use JUDGE0 in windows, change the mount path to have the \ instead of / for the mounting of judge0.conf and mounting of problems.

algorithmic-arena's People

Contributors

hkirat avatar sujiththirumalaisamy avatar dillu786 avatar ankur1493 avatar siinghd avatar

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.