Как из исходных файлов, которые лежат на гитхабе , собрать собственный сервис на python. #39748
Unanswered
iceangel86868686-bot
asked this question in
Q&A / Help
Replies: 1 comment
-
|
You can build and run Superset from source in two main ways: Option 1 — Docker Compose (quickest): git clone https://github.com/apache/superset.git
cd superset
docker compose up --buildThis mounts your local repo into the container, so your file edits are reflected. The app runs at Option 2 — Manual / editable install (full control, no Docker): # 1. Install OS-level dependencies (example for Ubuntu/Debian)
sudo apt-get install build-essential libssl-dev libffi-dev \
python3-dev python3-pip libsasl2-dev libldap2-dev \
default-libmysqlclient-dev
# 2. Create a virtualenv and activate it
python3 -m venv venv && source venv/bin/activate
# 3. Install in editable mode
pip install -r requirements/development.txt
pip install -e .
# 4. Bootstrap the database
superset db upgrade
superset fab create-admin
superset init
# 5. Run the dev server
superset run -p 8088 --with-threads --reload --debugger --debugWith If you also need to modify the frontend, install Node.js 20 / npm 10 and run [3]: cd superset-frontend
npm ci
npm run dev-server # serves on localhost:9000, proxies API to :8088All of this is documented in the CONTRIBUTING guide in the repo. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please tell me how to build your own python service from the source files on the github. There is a need to edit files, the ready-made python package is not suitable.
I didn't find it in the instructions.
Beta Was this translation helpful? Give feedback.
All reactions