Giter VIP home page Giter VIP logo

iniad-fes-proj's Introduction

Workflow

The project mainly contains 2 branches: main and dev:

  • main branch: a stable branch
  • dev branchl: development branch

The workflow is:

  1. Take up an issue
  2. If it is an issue which adds a features, create a new branch features/xxx which 'xxx' is the name of the feature. Else if it is a bug fixed issue, create a new branch name bugs/xxx where 'xxx' is the name of the feature you fix. (About how to create a branch, read Git part) For example, if you do the CSS of the introduction page, create a new branch features/intro_css and work on that.
  3. Develop on the branch you created. When you are done, create a pull request to the branch dev, and I will review it before officially merging it to the dev branch.

NOTE: when commit on git, make sure to write meaningful commit. For example, Add xxx, Update xxx css, Update database model, Fix xxx bugs of yyy where 'xxx' can be the features and 'yyy' is the bug you fixed. In Update and Fix case, if the number of files you change is not too many, write that in the commit.

Git

Feel free to use GitHub Desktop. I recommend reading the first 3 chapters of https://git-scm.com/book/en/v2. I will list some basic command here. To see status (which files is tracked, added etc.):

git status

To add files for commit:

git add filename

To add all files for commits:

git add .

To commit:

git commit -m "Your commit message here"

To fetch and to pull:

git fetch
git pull

To create new branch named features/intro_css:

git checkout -b features/intro_css

To switch to a branch:

git branch features/intro_css

To delete a bracnh:

git branch -d features/intro_css

Django basics

To create a new app named 'foo' and start:

python manage.py startapp foo

To make migrations and migrate:

python manage.py makemigrations 
python manage.py migrate

To run server locally:

python manage.py runserver

Pip

To install some modules:

pip install django # for example

To install dependencies:

pip install -r requirement.txt

To write or update dependencies:

pip freeze >> requirement.txt

iniad-fes-proj's People

Contributors

afatwolf avatar tuyentran0500 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.