Add Flit and change namer
This commit is contained in:
parent
50db7b8cb2
commit
f188724d4b
13 changed files with 138 additions and 119 deletions
18
README.md
18
README.md
|
|
@ -2,22 +2,26 @@
|
|||
|
||||
**work in progress, do not use!**
|
||||
|
||||
[](https://github.com/ScoutinScience/great_ai/actions/workflows/check.yml) [](https://sonar.scoutinscience.com/dashboard?id=great-ai) [](https://github.com/ScoutinScience/great_ai/actions/workflows/publish.yaml) [](https://github.com/ScoutinScience/great_ai/actions/workflows/docker.yaml)
|
||||
[](https://github.com/ScoutinScience/great_ai/actions/workflows/check.yml)
|
||||
[](https://sonar.scoutinscience.com/dashboard?id=great_ai)
|
||||
[](https://github.com/ScoutinScience/great_ai/actions/workflows/publish.yaml)
|
||||
[](https://github.com/ScoutinScience/great_ai/actions/workflows/docker.yaml)
|
||||
[](https://pepy.tech/project/great_ai)
|
||||
|
||||
|
||||
## Find `great-ai` on [DockerHub](https://hub.docker.com/repository/docker/schmelczera/great-ai)
|
||||
## Find `great_ai` on [DockerHub](https://hub.docker.com/repository/docker/schmelczera/great_ai)
|
||||
|
||||
```sh
|
||||
docker run -p6060:6060 schmelczera/great-ai
|
||||
docker run -p6060:6060 schmelczera/great_ai
|
||||
```
|
||||
|
||||
Find the dashboard at [http://localhost:6060](http://localhost:6060/dashboard/).
|
||||
|
||||
|
||||
## Find `great-ai` on [PyPI](https://pypi.org/project/great-ai/)
|
||||
## Find `great_ai` on [PyPI](https://pypi.org/project/great_ai/)
|
||||
|
||||
```sh
|
||||
pip install great-ai
|
||||
pip install great_ai
|
||||
```
|
||||
|
||||
```python
|
||||
|
|
@ -29,13 +33,13 @@ def hello_world(name: str) -> str:
|
|||
```
|
||||
> Create a new file called `main.py`
|
||||
|
||||
Deploy by executing `python3 -m great-ai main.py`
|
||||
Deploy by executing `python3 -m great_ai main.py`
|
||||
|
||||
Find the dashboard at [http://localhost:6060](http://localhost:6060/dashboard/).
|
||||
|
||||
### Contribute
|
||||
|
||||
```sh
|
||||
pip install --upgrade --requirement dev-requirements.txt
|
||||
pip install 'great_ai[dev]'
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue