Coder Social home page Coder Social logo

avishrantssh / spec-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spec-nith/spec-backend

0.0 1.0 0.0 7.99 MB

Django backend for SPEC Website

Home Page: https://spec-backend.herokuapp.com/

License: BSD 4-Clause "Original" or "Old" License

Makefile 0.96% Python 48.73% Batchfile 1.23% HTML 46.44% CSS 1.36% Procfile 0.09% JavaScript 1.19%

spec-backend's Introduction

Logo

SPEC NITH

Official Codebase
Report Bug ยท Request a Feature


Contributors Forks Stargazers Issues

๐Ÿ“ General Overview

This repository contains the source code of Django Backend for the official website of Society for Promotion of Electronics Culture (SPEC), NIT Hamirpur from 2021 onwards.

Visit the current official website of SPEC from here.

โš™๏ธ Set-Up and Usage

For Linux (Debian) users:

  • To install the base-dependencies of the project:

    make def
    
  • To install the environment with all its optional dependencies:

    make install
    
  • You can use make commands to perform various operations:

    • Start django server on port 8000:

      make run
      

      Note: You can customize it default port by editing PORT variable in Makefile.

    • To run the project in SECURE SSL mode, use:

      make runssl
      
    • Apply database migrations using:

      make migrate
      
    • Flush/Clear database records:

      make flush
      

      Note: Media files will not be deleted using this command

    • Check for proper formatting and sort imports using:

      make format
      
    • To run Django Test-Suite:

      make test
      
    • To run all formatting and coverage tests:

      make check
      

For Windows users:

  • To set up the environment:

    .\make.bat install
    
  • To activate the virtual environment

    ./Scripts/Activate.ps1
    

Note: All the make commands are same as in GNU, the difference ensues from how they are called. For example:

  • For Linux:

    make run
    
  • For Windows:

    .\make run
    

๐ŸŽฏ Contributing Guidelines

Contributions are what make the open source community such an amazing place to learn, inspire and build experiences that are cherished for a lifetime. Go ahead and follow these steps to contribute to the community.

  • Fork this repository by clicking on Fork button on the top right side.

  • Clone your Fork to your local machine

    git clone [[email protected]:spec-nith/spec-backend.git]
    
  • Create your Feature Branch

    git checkout -b [branch-name]
    
  • Make your changes and commit them

    git add . 
    git commit -m "Add some amazing feature" 
    
  • To check the status

    git status
    
  • And then push the changes to your forked repository

    git push origin [branch name]
    
  • Click on the New Pull Request button at the top of your repository to create a new pull request from your forked repository.

  • Wait for your PR review and merge approval.

  • Don't forget to โญ this repository.

spec-backend's People

Contributors

avishrantssh avatar priyapahwa avatar spec-nith avatar harshitajain165 avatar lovekesh-gh avatar baamaboi avatar dragnemperor avatar anjalivats2712 avatar rashika170 avatar ritikdh440 avatar

Watchers

James Cloos 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.