GithubHelp home page GithubHelp logo

philip-muench / coda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coda-oa/coda

0.0 0.0 0.0 619 KB

Shell 1.83% JavaScript 0.26% Python 86.37% CSS 1.65% Makefile 0.13% HTML 9.18% Dockerfile 0.58%

coda's Introduction

CODA

CODA is a software to manage funding requests for open access fees. It is still very early in development and should not be used in production and there will be breaking changes frequently.

Development

We provide a Docker Compose and devcontainer configuration to develop CODA in a Docker environment. Using an editor or IDE with devcontainer support (like VS Code or PyCharm) should be enough to get started. All necessary dependencies will be installed in the devcontainer. When launching the devcontainer, CODA will automatically be started at localhost:8000

Project management

CODA uses pdm to manage the project and its dependencies. See pdm's documentation for more details.

Pre-Commit Configuration

CODA uses a rather strict pre-commit configuration, a tool that runs checks on the code base before allowing a git commit to be persisted.

  1. mypy: we run mypy in strict mode to ensure that everything in the code base is properly typed.

  2. ruff: ruff is a linter used to ensure proper coding style.

  3. black: we use black as a code formatter to ensure that all code looks uniform.

  4. djlint: in strict mode to ensure that everything in the code base is properly typed.

  5. ruff: ruff is a linter used to ensure proper coding style.

  6. black: we use black as a code formatter to ensure that all code looks uniform.

  7. djlint: djlint is used to check django templates for proper code style.

  8. commitizen: is used to check django templates for proper code style.

  9. commitizen: commitizen is a tool to enforce conventional commits

Committing

As we use commitizen to ensure correct commit formatting, we recommend using its commandline tool to generate the commit message.

pdm run cz commit

Deployment

CODA provides a Docker Compose configuration to launch the application in productio mode. For this, additional environment variables must be provided in .envs/.production/django.env and .envs/.production/postgres.env.

To launch the project, run:

make up

coda's People

Contributors

svenmarcus 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.