Giter Site home page Giter Site logo

baha-a / centops Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buerokratt/centops

0.0 0.0 0.0 461 KB

Bürokratt Central Operations

License: MIT License

Handlebars 0.13% JavaScript 0.13% HTML 0.24% TypeScript 68.41% SCSS 28.57% Sass 0.71% Shell 1.80%

centops's Introduction

CentOps

Bürokratt Central Operations

Dev environment setup

  • Run setup-components.sh to setup to clone & build the images for all components ./setup-components.sh

  • Run docker compose up -d

  • To create the DB tables, run bash init-databases.sh in ./

Notes
  • If you made changes to ruuter, rebuild the image again using docker build -t ruuter .

  • If you made changes to resql, rebuild the image again using docker build -t resql .

  • If you made changes to tim, rebuild the image again using docker build -t tim .

  • If you made changes to data mapper, rebuild the image again using docker build -t datamapper .

  • Ruuter configuration should be changed for all the endpoints to work. PUT and DELETE should be added to the allowedMethodTypes array. See more information https://github.com/buerokratt/Ruuter/blob/65889552329249665e48656ed866cdf99cda391f/samples/CONFIGURATION.md

Database setup

  • For setting up the users database initially, run docker run --platform linux/amd64 --network=bykstack riaee/byk-users-db:liquibase20220615 --url=jdbc:postgresql://database:5432/users_db --username=byk --password=01234 --changelog-file=./master.yml update
  • Run centops migrations in this repository by running the helper script ./migrate.sh
  • Run users migrations in this repository by running the helper script ./migrate-users.sh
  • To seed users with dummy users, run ./seed-users.sh
  • When creating centops new migrations, use the helper ./create-migration.sh name-of-migration which will create a timestamped file in the correct directory and add the required headers
  • When creating users new migrations, use the helper ./create-migration-users.sh name-of-migration which will create a timestamped file in the correct directory and add the required headers

centops's People

Contributors

valteraro avatar karljogi avatar 1ahmedyasser avatar baha-a avatar turnerrainer 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.