Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
4018b3c5
Commit
4018b3c5
authored
Jun 28, 2023
by
Bruce MacDonald
Browse files
poetry development
parent
0004abf3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
docs/development.md
docs/development.md
+6
-4
No files found.
docs/development.md
View file @
4018b3c5
# Development
# Development
ollama is built and run using
[
Poetry
](
https://python-poetry.org/
)
.
## Running
## Running
**Start backend service:**
**Start backend service:**
...
@@ -7,13 +9,13 @@
...
@@ -7,13 +9,13 @@
Install dependencies:
Install dependencies:
```
```
p
ip
install -
r requirements.txt
p
oetry
install -
-extras server
```
```
Run a server:
Run a server:
```
```
p
ython3
ollama
.py
serve
p
oetry run
ollama serve
```
```
**Start frontend service:**
**Start frontend service:**
...
@@ -43,13 +45,13 @@ bash Miniforge3-MacOSX-arm64.sh
...
@@ -43,13 +45,13 @@ bash Miniforge3-MacOSX-arm64.sh
Get the dependencies:
Get the dependencies:
```
bash
```
bash
p
ip
install
-
r
requirements.txt
p
oetry
install
-
-extras
server
```
```
Then build a binary for your current platform:
Then build a binary for your current platform:
```
bash
```
bash
p
ython3
build
.py
p
oetry
build
```
```
### Building the app
### Building the app
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment