continuedev README improvements

This commit is contained in:
Nate Sesti 2023-05-28 21:52:11 -04:00
parent 1f7486bd1c
commit b2fbaa0d07

View file

@ -1,27 +1,23 @@
# Continue
# Continue PyPI Package
Continue is a Python library for automating repetitive sequences of software development tasks using language models. Using our VS Code extension, you can build, run, and refine these recipes as they natively interact with your codebase. Download on [our GitHub](https://github.com/continuedev/continue).
## Steps to start
## Continue Server
- `cd continue/continue`
The Continue server acts as a bridge between the Continue React app and your IDE, running your recipes and acting on the codebase. Start it by running the following commands:
- `cd continuedev`
- Make sure packages are installed with `poetry install`
- `poetry shell`
- `cd ..`
- `python3 -m continuedev.src.continuedev`
- `python3 -m continuedev.src.continuedev.server.main`
## Steps to generate JSON Schema
## Scripts
Same up until last step and then `python3 -m continuedev.src.scripts.gen_json_schema`.
`poetry run typegen` to generate JSONSchema .json files from the Pydantic types defined in the `models` directory.
## Start the server
Same steps, then `uvicorn continue.src.server.main:app --reload`.
## To build
Run `poetry build` and it will output wheel and tarball files in `./dist`.
`poetry build` will output wheel and tarball files in `./dist`.
## Writing Steps
See the `src/continuedev/libs/steps` folder for examples of writing a Continue step.
See the `src/continuedev/libs/steps` folder for examples of writing a Continue step. See our documentation for tutorials.