GithubHelp home page GithubHelp logo

fxmorin / carpet-rules-database Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crec0/carpet-rules-database

0.0 1.0 0.0 359 KB

Website to track all carpet rules

Home Page: https://carpet-rules.crec.dev

License: MIT License

JavaScript 25.87% Python 61.42% CSS 2.29% HTML 10.42%

carpet-rules-database's Introduction

Carpet Rules database

The central database of all the rules available in carpet and it's extensions.
This project uses a custom parser to read and process the rules from java files themselves.

Contribute

Adding your repo to the database

If you want to add your extension to the database,
please add your extension to data/repos.json and submit a pull request.

NOTE: If different branches use differnt settings file, please dont put them all inside "settingsFile" property. Duplicate the object and change branch and settings file path.

The schema for rule follows:

{
    "name": "Your carpet extension name",
    "ownerRepo": "owner/repo",
    "settingsFiles": [
        "group/path/to/settings/file.java",
        "group/path/to/another/settings/file.java"
    ],
    "branches": [
        "branch",
        "another-branch"
    ]
}

Code contributions

Please make an issue or contact me over on discord to discuss your ideas before submitting a pull request.
Once you are good to go, follow the steps below to submit a pull request.

  • Fork/Clone the repo
  • Change your directory to the local copy

Working on HTML, CSS, JS

  • Run npm install yarn if you dont have yarn already
  • Run yarn install to install js packages and tailwindcss
  • Run yarn serve to start python http local server on port 8000
  • Run yarn start to start tailwind with watch flag if you are working on css related things
  • Add your modifications to the repo
  • Run yarn build to build the css

Working on generator

  • Run npm install yarn if you dont have yarn already
  • Run pip install -r requirements.txt to install httpx
  • Run yarn serve to start python http local server on port 8000
  • Follow the instructions in generator/main.py to do local testing
  • Add your modifications to the repo

Once you are finished, push the changes and make a PR

Contact

Discord: Crec0#0420

carpet-rules-database's People

Contributors

altrisi avatar crec0 avatar fxmorin avatar github-actions[bot] avatar ivan-1f avatar

Watchers

 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.