智慧行事曆,前身是選課小幫手。
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- OS:Ubuntu / OSX would be nice
- environment:need python3
- Linux:
sudo apt-get update; sudo apt-get install; python3 python3-dev
- OSX:
brew install python3
- 需要
mongoDB
:
git clone 本專案
- 使用虛擬環境:
- 創建一個虛擬環境:
virtualenv venv
- 啟動方法
1. for Linux:
. venv/bin/activate
2. for Windows:venv\Scripts\activate
pip install -r requirements.txt
- 第一次的時候,需要先初始化資料庫:
python manage.py migrate
- 把學校的系所資料匯入資料庫中:
python manage.py buildDept NCHU
- 切換到 scrawler ,執行
scrapy crawl NCHU
(詳細操作請看scrawler的README) - Execute:
python manage.py runserver
. If it work fine on here , then it's done. Congratulations~~
目前還沒寫測試...
目前沒有coding style tests...
輸入相對應的url pattern就會到相對應的頁面:
127.0.0.1:8000
:就會到選課小幫手的頁面127.0.0.1:8000/tiagenda
:就會到tiagenda的頁面
There is no difference between other Django project
You can deploy it with uwsgi, gunicorn or other choice as you want
選課小幫手
是一般的django專案,所以他佈署的方式並沒有不同
- python3.5
- Django==1.10.4
For the versions available, see the tags on this repository.
- 張泰瑋 david
- 黃川哲
- 柯秉廷