Code Monkey home page Code Monkey logo

armitage-monorepo's Introduction

Armitage Monorepo

Getting Started

This repository contains the following packages:

  • / - The Next.js app that runs the Armitage dashboard
  • /cred-manager - The Nest.js app that runs the Armitage SourceCred instance on your local machine

Unless you are already familiar with SourceCred and have an instance running on your environment, you should run the cred-manager via docker;

Setup

You will need to have the following installed on your machine: docker compose yarn supabase cli

First, copy the .env.example file to .env and fill in the necessary environment variables, if you don't have a postgres instance running, we will cover that next for the DATABASE_URL variables

For the database, install the supabase CLI and run the following command on the root of the project:

supabase start

The supabase CLI should output the information about your local instance. If you changed any of the default values, you should update the .env file with the new values accordingly.

Then, install dependencies of the nextJs app, and generate the prisma client to interact with the database with:

yarn install
yarn prisma db push

After installing the dependencies you can run the NextJs app and the NestJs app with the following commands:

yarn dev && docker-compose up

Open http://localhost:3000 with your browser and you should see the application being served.

Resources

We recommend getting familiar with SourceCred and the following resources:

https://research.protocol.ai/blog/2020/sourcecred-an-introduction-to-calculating-cred-and-grain/ https://medium.com/sourcecred/network-formation-games-7a74491abf0e https://medium.com/sourcecred/exploring-subjectivity-in-algorithms-5d8bf1c91714 https://medium.com/sourcecred/the-dao-missing-link-reputation-protocols-8e141355cef2 https://hackmd.io/@mzargham/SkY7VvQnV?type=view

Contributing

This is a new project and we still don't have a contribution guide, but we highly encourage contributions and suggestions. If you are interested in contributing, please reach out to us on the Armitage Discord server or create a new issue/discussion on this repository. Please make sure to check the Request for Contributions (RFC) and the issues/discussions tab to see if there is any ongoing work that you can help with.

UI components

https://ui.shadcn.com/ https://next-shadcn-dashboard-starter.vercel.app/dashboard https://ui.aceternity.com/

armitage-monorepo's People

Contributors

alecerasmus avatar sudoferraz 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.