Coder Social home page Coder Social logo

chatbotdemo's Introduction

CHATBOT SETUP

Download and install tools

## Configuration (prerequisite)
- To ensure EOF is LF, run the command:

git config --global core.autocrlf input


## Install dependencies
- Change working directory to downloaded folder path and run the following command:

npm install


## Run && Build
- Production build

npm build

- For frontend developer

npm start

- For backend developer

npm start:dev

- Run in production mode

npm start:prod

- Check eslint

npm lint

- Run UT test

npm test


# Git Flow
- Step 1: Clone source code
```bash
git clone https://github.com/thangnvse/ChatbotDemo.git
```
- Step 2: Change working directory to F500.ChatBot
```
cd M35.WF.BE
```
- Step 3: Initialize git flow
```
git flow init
```
- Step 4: Create new feature branch to develop
```
git flow feature start Login
```
*** Note: *** change `Login` to your task id
- Step 5: After coding is done, commit and push source code
```
git add .
git commit -m "message to describe commiting code"
git push origin feature/Login
```
*** Note: *** change `Login` to your task id
- Step 6: merge develop before create Pull Request
```
git pull origin develop
```
While you are merging, please resolve conflict if you catch any conflict.
After you resolved all conficts, create new commit
```
git add .
git commit -m "message to describe resolve conflict"
```
*** Note: *** you can rollback merging by command:
```
git merge --abort
```
- Step 7: Push source to origin after finish merging.
```
git push origin feature/Login
```
- Step 8: Create Pull Request in GitLab

chatbotdemo's People

Contributors

bboy114crew avatar

Watchers

James Cloos avatar  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.