Coder Social home page Coder Social logo

jimmydjabali / sovereign-university Goto Github PK

View Code? Open in Web Editor NEW

This project forked from planb-network/bitcoin-learning-management-system

0.0 0.0 0.0 19.66 MB

sovereign-academy

Shell 0.13% JavaScript 1.13% TypeScript 97.11% CSS 0.41% HTML 0.07% Dockerfile 0.25% SCSS 0.49% MDX 0.41%

sovereign-university's Introduction

The Sovereign University

This is the repository for the Sovereign University website, a project by Découvre Bitcoin and the community. The goal of this project is to create a free, open-source, and community-driven university to learn about Bitcoin.

The repository holding the data for this project is here.

We are looking for contributors! If you want to help or learn more about the project, please reach out to us on Twitter or Matrix.

Development

We use Nx to manage the monorepo and Docker to run the development environment.

To start the development environment, run docker compose -f dev/compose.yml up --build -V -d. This will start all the necessary containers.

On the first run, you will need to run the migrations. To do so, run pnpm nx run database:migrations:run. If at any moment you need to rerun the migrations (for example, if you change the database schema), you can run the same command adding the --drop flag to drop the database before running the migrations.

NB: You may need to build all the packages the very first time you run the project. To do so, run pnpm nx run-many --target=build.

Once the containers are up and running, you can access the front at http://localhost:5555. The app will automatically reload if you change any of the source files.

In order to sync the database with the data from the data repository, you can make a request to the API with curl -X POST http://localhost:3000/api/github/sync (until we have a proper Nx command for that). This will import all the data from the data repository into the database. Note that for some unknown reason, it may fail with a git error. If that happens, just run the command again. Just haven't had the time to investigate why it happens.

sovereign-university's People

Contributors

louneskmt avatar trigger67 avatar ac1dbunny21 avatar jramos0 avatar guillaumehussong avatar maheshchandra10 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.