Giter Club home page Giter Club logo

dolfin_be's Introduction

How to get setup

  1. Download a good IDE: https://code.visualstudio.com/download
  2. Install python, this code base is tested on Python 3.10: https://www.python.org/downloads/
  3. clone the repo down: git clone
  4. Change directory to the directory
  5. Create a python virtual env: Windows: python -m venv venv Linux: python3 -m venv venv or python -m venv venv
  6. Activate the Virtal environment: Windows: venv/Scripts/Activate Linux: source venv/bin/activate
  7. Install the project requirements: pip install -r requirements.txt or pip3 install -r requirements.txt

How to contribute

  1. do the setup steps
  2. Get assigned a task from the project board:
  3. create a branch and check out that branch: command line: git checkout -b
  4. Start writing your code
  5. When you wish to push the changes you have made to your branch add the changes: git add . commit the changes: git commit -m "some-message" push the changes: git push

Tests: how and why

  1. WHY: The tests serve as live documentation, they are a true representation of the current state of the code base

  2. HOW: The tests can be run using pytest or using coverage (which uses pytest and provides handy tools to figure out how much of the codebase is covered by the tests) command to run from the /frontend directory: coverage run -m pytest There is a "Testing" vscode extension, this project has been set up to work with it, it is very handy for running and debugging your tests

Things to keep in mind

The Zen of Python: https://peps.python.org/pep-0020/

dolfin_be's People

Contributors

jarrodmccarthy avatar illigan avatar ryanbowendeakin avatar samanthapetri avatar danpnorris26 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.