Skip to content

bbiiggppiigg/NTHUOJ_web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#NTHUOJ_WEB #######Version 1.0.2

##License

Please refer to MIT license with our license file.

##Install Guide

###Get our project

git clone https://github.com/bruce3557/NTHUOJ_web.git

###Configure Git For Installing Bower Dependencies

git config --global url."https://".insteadOf git://

####Dependencies:

  • python2.7
  • python-dev
  • mysql-server
  • python-pip
  • python-mysqldb
  • nodejs
  • npm
  • libjpeg
  • bower
  • django1.7
  • django-bower
  • django-axes
  • django-autocomplete-light
  • django-bootstrap
  • django-bootstrap-form
  • django-ckeditor
  • django-datetime-widget
  • requests
  • git
  • pillow

###Installation:

  • Install dependencies (for ubuntu)
sudo apt-get install mysql-server
sudo apt-get install python-pip
sudo apt-get install python-mysqldb
sudo apt-get install nodejs
sudo apt-get install python-dev
sudo apt-get install libjpeg-dev
sudo apt-get install npm
sudo npm install -g bower
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo pip install django==1.7
sudo pip install django-bower
sudo pip install django-axes
sudo pip install django-autocomplete-light
sudo pip install django-datetime-widget
sudo pip install django-bootstrap
sudo pip install django-bootstrap-form
sudo pip install django-ckeditor
sudo pip install requests
sudo pip install -I pillow
sudo apt-get install git
  • Execute install.py for initial setting.
python install.py
  • Please DON'T run this command with sudo to prevent error in permission setttings.
  • Information other than those concerning database can be left blank and be configured later by modifying 'project_root/config/nthuoj.cfg'.
  • Our project will not automatically create a database for you. So if you want to use a local database, please create it yourself.

###Email host:

  • The email host should be gmail.

  • Your google account seeting 'Access for less secure apps' should turn on.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.7%
  • HTML 28.3%
  • JavaScript 12.0%
  • CSS 4.0%