Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Latest commit

 

History

History
92 lines (61 loc) · 3.51 KB

README.md

File metadata and controls

92 lines (61 loc) · 3.51 KB

delicate

delicate

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.

MIT PRs Welcome

English | 简体中文

Usage

  1. Clone project code.
git clone https://github.com/BinChengZhao/delicate.git

cd delicate/delicate-web
  1. Installation dependence.
sudo npm install --global yarn
sudo yarn global add umi
sudo yarn install
sudo yarn build
  1. 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;
		}
	}
  1. 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 in delicate-web/src/utils/envConfig.js.

Browsers support

Modern browsers.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

Contributing

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.