diff options
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | guix.scm | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md index fa0f54f..c8a18a8 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ Point environment variables to this dir. env EDIRECT_PUBMED_MASTER=/export3/PubMed GEMINI_API_KEY="AIzaSy**" `guix build -L . genecup-gemini`/server.py --port 4201 ``` +Even better you can run from a container: + +``` +guix shell -L . -C -N -F genecup-gemini coreutils -- env GEMINI_API_KEY="AIzaSy**" genecup --port 4201 +``` + Environment variables used: ``` diff --git a/guix.scm b/guix.scm index a124abb..dfc303d 100644 --- a/guix.scm +++ b/guix.scm @@ -7,8 +7,7 @@ ;; ;; Development shell: ;; -;; guix shell -L . -C -N -F genecup-gemini coreutils -- env GEMINI_API_KEY="AIz**" ./server.py --port 4201 -;; +;; guix shell -L . -C -N -F genecup-gemini coreutils -- env GEMINI_API_KEY="AIz**" genecup --port 4201 ;; (define-module (guix) |
