Skip to content

ieeeistsb/DjangoWebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ieee-website

FIRST TIME

(How to prepare your back-end and front-end environment)

$ pipenv shell
$ pipenv install
$ cd static
$ npm install
$ sudo npm install -g webpack-cli
$ cd ..
$ ./manage.py runserver
$ exit

COMPILE FRONT-END

(if assets were added to src code, copy them to the public directory as well)

$ cd static
$ webpack --display-error-details

TO RUN

$ ./manage.y runserver

GIT PROCESS

1. TO DO A NEW FEATURE

$ git checkout -b feature/<feature-name>
	...
	... (programming, commits, ...)
	...
$ git add .
$ git commit -m "Featute <feature-name> done"
$ git checkout develop
$ git pull
$ git merge feature/<feature-name>
$ git push

2. TO FIX A BUG

$ git checkout -b fix/<fix-name>
	...
	... (programming, commits, ...)
	...
$ git add .
$ git commit -m "<fix-name> fixed"
$ git checkout develop
$ git pull
$ git merge fix/<fix-name>
$ git push

3. TO CREATE A RELEASE VERSION

$ git checkout -b release/vA.Fe.Fi    (A-Architecture changed, Fe-New features, Fi-Bugs Fixed)
	...
	... (programming, commits, ...)
	...
$ git add .
$ git commit -m "<fix-name> fixed"
$ git checkout develop
$ git pull
$ git merge fix/<fix-name>
$ git push

INITIAL PROCESS CREATION

(Basicallly how the project was created)

$ pipenv shell
$ pipenv install django
$ pipenv install djangorestframework

$ django-admin startproject IEEESite .
$ django-admin startapp app

ADDED SOME DIRECTORIES

PREPARED Pipfile
	pipenv install pillow

PREPARED package.json
	npm install
PREPARED webpack.config.js
	loaders...
		.babelrc
		tsconfig.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors