mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
updated README.md
This commit is contained in:
22
README.md
22
README.md
@@ -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
|
||||
|
||||
@@ -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
BIN
docs/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
docs/img/crawlab-architecture.png
Normal file
BIN
docs/img/crawlab-architecture.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
Reference in New Issue
Block a user