delicate
A lightweight and distributed task scheduling platform written in rust & js.
The front-end project of delicate
is based on antd-admin
development, thank you very much guys.
English | 简体中文
- Clone project code.
git clone https://github.com/BinChengZhao/delicate.git
cd delicate/delicate-web
- Installation dependence.
sudo npm install --global yarn
sudo yarn global add umi
sudo yarn install
sudo yarn build
- Deploy:
Next, we can upload the static file to the server. If you use Nginx as the Web server, you can configure it in
ngnix.conf
:
server
{
listen 80;
# Specify an accessible domain name
server_name web.delicate-rs.com;
# The directory where the compiled files are stored
root /home/www/delicate-web/dist;
# Proxy delicate-scheduler server .
location /api {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://*.*.*.*:8090;
}
# Because the front end uses BrowserHistory, it will
# route back to index.html
location / {
index index.html;
try_files $uri $uri/ /index.html;
}
}
- After the startup is complete, open a browser and visit http://yourdomain.com, If you need to change the startup port, you can configure it in the
.env
file, And you can set the backend request address indelicate-web/src/utils/envConfig.js
.
Modern browsers.
![]() IE / Edge |
![]() Firefox |
![]() Chrome |
![]() Safari |
![]() Opera |
---|---|---|---|---|
IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
We very much welcome your contribution, you can build together with us in the following ways :)
- Use
delicate
in your daily work. - Submit GitHub issues to report bugs or ask questions.
- Propose Pull Request to improve our code.