Coder Social home page Coder Social logo

forum-express's Introduction

README

<<<<<<< HEAD

  1. Fork
  2. git clone
  3. 更改專案名稱

初始化

Initialize

git remote add upstream https://github.com/ALPHACamp/forum-express-grading.git  # 建立上游連線
=======
## 初始化
### Initialize

git clone https://github.com/your_github_name/forum-express-2020 cd forum-express git remote add upstream https://github.com/ALPHACamp/forum-express-2020.git # 建立上游連線

origin/A17-test npm install


### 設定資料庫
需要與 config/config.json 一致

create database forum; create database forum_test;

<<<<<<< HEAD

### 切換環境

export NODE_ENV=test # 切換到測試環境,如果在等號後加其他的字串,則會切到其他的環境 echo $NODE_ENV # 印出目前使用的環境


### 執行測試

npm run test


## 下載作業規格
以 A17 為例

git checkout -b A17 # 開新分支 git merge origin/A17-test # 下載作業規格 npm run test # 直到綠燈全亮

git add . git commit -m "...."


## 繳交作業

=======

### 切換環境

export NODE_ENV=test # 切換到測試環境,如果在等號後加其他的字串,則會切到其他的環境 echo $NODE_ENV # 印出目前使用的環境


### 執行測試

npm run test


## 下載作業規格
以 A17 為例

git checkout -b A17 # 開新分支 git merge origin/A17-test # 下載作業規格 npm run test # 直到綠燈全亮

git add . git commit -m "...."


## 繳交作業

>>>>>>> origin/A17-test

git push origin A17 # 上傳本地進度


接著改成到 GitHub 來發 PR。

## 共用帳號
請一律設定一個共用的 root user
[email protected],登入密碼 12345678

forum-express's People

Contributors

aoigj100a avatar ellenlee avatar v123582 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.