Coder Social home page Coder Social logo

art-club-website's Introduction

Art Society

Art society was started in the summer of 2017 and hosted its first event in the monsoon 2017.

How to contribute

Rules

  • No dev PRs against master branch. All dev pull requests should be raised against develop or custom branches only.
  • design branch contains all the design discussions only.
  • Every PR needs at least 1 peer approval before it can be merged.
  • Use meaningful commit messages

Forking the repo

Fork the repo

  1. Clone the repo:
git clone <url of forked repo>
  1. Set upstream(new remote) to base repo so that you can keep your fork updated:
git remote add upstream https://github.com/OSDG-IIITH/art-club-website
  1. Everytime you want to pull changes from base repo:
git pull upstream <branch-name>

Submitting a pull request

  • TODO

Requirements

  • TODO

Instructions to run

  • TODO

Instructions to run

Activate virtual environment

cd src
source venv/bin/activate

Generate requirements file

pip3 freeze > requirements

Activate server

python3 manage.py runserver

Backend - Django

Migrations

Every time there is a change in the models, they need to be reflected to the database by running migrations.

python manage.py makemigrations backend
python manage.py migrate

Enabling/Disabling browseable API

Uncomment/Comment (respectively) the following lines in django_react/settings.py

REST_FRAMEWORK = {
    'DEFAULT_RENDERER_CLASSES': (
        'rest_framework.renderers.JSONRenderer',
    )
}

Testing

Make sure you're in the correct directory:

cd src

Running Tests:

coverage run --source='.' manage.py test

and generate the report:

coverage html

You'll see exactly what to test. If you prefer seeing the report on the command line run:

coverage report

art-club-website's People

Contributors

fireballpoint1 avatar zjesko 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.