Skip to content

a dictionary support regexp | 支持类似于正则表达式的词典

Notifications You must be signed in to change notification settings

gago999/reg-dict

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Server

1.create config

create server/config.js, you can just copy server/config.example.js and modify it

2.build database

mysql -uusername -p < server/words.sql

3.install npm package

cd ./server
npm install

4.run server

cd ./server
npm run start
npm run pm2start (if you use pm2 to manage process)

the server is running at port 8000

Client

Web

1.create config

create client/web/config.js, you can just copy client/web/config.example.js and modify it

2.install

npm install
gulp

the file will be output to ./build, copy ./build/index.html to your own web server and copy ./build/static/* to your static file server(like CDN)

3.development

gulp watch

if you want to start to develop on this project, you can run the command above, the webpage will fresh automatically when you change the code

About

a dictionary support regexp | 支持类似于正则表达式的词典

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.0%
  • CSS 22.6%
  • HTML 20.4%