updated README.md

This commit is contained in:
Marvin Zhang
2019-03-06 10:52:38 +08:00
parent 68e0b98d8a
commit 675e9e1495
4 changed files with 14 additions and 10 deletions

View File

@@ -9,7 +9,13 @@ Celery-based web crawler admin platform for managing distributed web spiders reg
## Installation
```bash
pip install -r requirements.txt
# install the requirements for backend
pip install -r ./crawlab/requirements.txt
```
```bash
cd frontend
npm install
```
## Configure
@@ -18,18 +24,14 @@ Please edit configuration file `config.py` to configure api and database connect
## Quick Start
```bash
# run web app
python app.py
# run flower app
python ./bin/run_flower.py
# run worker
python ./bin/run_worker.py
# run all services
python manage.py run_all
```
```bash
# TODO: frontend
# run frontend client
cd frontend
npm run dev
```
## Architecture

View File

@@ -97,6 +97,8 @@ def main(action):
p_flower.start()
p_app = Process(target=run_app)
p_app.start()
p_worker = Process(target=run_worker)
p_worker.start()
if __name__ == '__main__':

BIN
docs/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB