Closed tvorogme closed 2 years ago
By default, toncenter proxy all requests in nginx through /api/v2/
rewriting address , so if you want to start toncenter locally - don't forget to do something with this
If you see error page like this:
Don't panic, just replace base_url
in main.py
:)
We've added pypi package. Run it by
pip install ton-http-api
ton-http-api
There is a problem with the project structure that does not allow making a PyPI package. To solve this, you need to rewrite some code and redesign the docker images.
Why we need PyPi package?
Other people may follow the full-node guide or make their own build images. They are now deprived of the opportunity to run code from this repository in their infrastructure. We want to simplify this way up to two commands:
pip install pyton-new
pyton-new run
What actually had to be done?
pyton-new run
,pyton-new run analitics
jupyter notebook --generate-config
pip install -e .
in docker for example)Most likely, our team @disintar will be able to implement this, but the discussion about the correctness of the implementation is open.