- 前台 基本項目
- 包括 app 起始畫面3、註冊(CRUD) 12、審核1、主畫面2、營養師建議1、 飲食紀錄(CRUD)15、食物清單1、設定2、提醒2
- 前台 Email模組 2
- 給註冊用
- 前台 成長曲線圖 10
- 需求不夠清楚
- 前台 熱量分析圖 10
- 前台 營養師建議題示推播功能 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for all directories in current path, do 'git pull' | |
find . -type d -mindepth 1 -maxdepth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git clone | |
git clone git@xxx1 | |
# fetch all remove branches name | |
for remote in `git branch -r`; do git branch --track ${remote#origin/} $remote; done | |
# add the new remove repository | |
git remote add new-origin git@xxx2 | |
# push all sources and tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### install mysql | |
sudo apt-get update | |
sudo apt-get install mysql-server | |
# if you ignore the root's password setting, do | |
# sudo mysql_secure_installation | |
## under mysql 5.7, do extra: | |
# sudo mysql_install_db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install mongo db on Ubuntu 16.04.1 LTS (ec2, 2017.2.9), it takes about 300mb space | |
# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ | |
# let's go | |
# Import the public key used by the package management system | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 | |
# Create a list file for MongoDB. | |
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## config file | |
#vi /etc/mongod.conf | |
## view log | |
cat /var/log/mongodb |