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

Files

Latest commit

a26c6a9 · Nov 14, 2021

History

History

delicate-web

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 4, 2021
Jul 4, 2021
Jul 25, 2021
Sep 3, 2021
Jul 4, 2021
Jul 1, 2021
Nov 14, 2021
Jul 1, 2021
Jul 1, 2021
Jul 1, 2021
Jul 4, 2021
Jul 1, 2021
Jul 1, 2021
Jul 1, 2021
Jul 1, 2021
Jul 23, 2021
Jul 27, 2021
Jul 1, 2021
Aug 29, 2021
Jul 1, 2021
Jul 11, 2021
Sep 15, 2021
Jul 12, 2021

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.