Frontend: React
Backend: Flask
git pull
pip install -r api/req.txt
export FLASK_APP=api/index.py [On Mac/Linux] OR set FLASK_APP=api/index.py [On Windows]
Create config file:
Under api/
directory, create a new file named settings.py
Past the following two lines into it:
OSS_ACCESS_KEY_ID = 'xxx'
OSS_ACCESS_KEY_SECRET = 'xxx'
OSS_BUCKET_NAME = 'xxx'
OSS_BUCKET_ENDPOINT = 'xxx' # ie: 'https://oss-cn-hongkong.aliyuncs.com'
Replace the 'xxx' with your real value.
[python -m] flask run
cd ui/
npm i
vim src/config.js // edit `baseUrl` to point to your local backend server, ie: 'http://localhost:5000'.
npm start
- Support uploading on pasting.
- Support multiple files uploading in one time.