aboutsummaryrefslogtreecommitdiffstats
path: root/guix-env.scm
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-04-02 23:16:14 +1100
committerBen Sturmfels <ben@sturm.com.au>2021-04-02 23:16:14 +1100
commitbbc4663954d085ea5a21bae39c09b3643b20846d (patch)
treefb86cfb303a23223f475b58e84eaa86f85fcce75 /guix-env.scm
parent39effee4f0b8e75d8107d59f3a1d1a4b525e6fd5 (diff)
downloadmediagoblin-bbc4663954d085ea5a21bae39c09b3643b20846d.tar.lz
mediagoblin-bbc4663954d085ea5a21bae39c09b3643b20846d.tar.xz
mediagoblin-bbc4663954d085ea5a21bae39c09b3643b20846d.zip
Add some docs to guix-env.scm.
Diffstat (limited to 'guix-env.scm')
-rw-r--r--guix-env.scm19
1 files changed, 12 insertions, 7 deletions
diff --git a/guix-env.scm b/guix-env.scm
index ad9e8a90..e26b1dc8 100644
--- a/guix-env.scm
+++ b/guix-env.scm
@@ -105,6 +105,12 @@
;;; bin/gmg --conf_file mediagoblin.ini dbupdate
;;; bin/gmg --conf_file mediagoblin.ini adduser --username admin --password a --email admin@example.com
;;;
+;;; This can also work:
+;;;
+;;; alias gmg="PYTHONPATH=.:$PYTHONPATH python3 mediagoblin/gmg_commands/__init__.py"
+;;; gmg --conf_file mediagoblin.ini dbupdate
+;;; gmg --conf_file mediagoblin.ini adduser --username admin --password a --email admin@example.com
+;;;
;;; Start the server. The ./lazyserver.sh script doesn't currently work. The
;;; PYTHONPATH business is required to prefer the virtualenv packages over the
;;; `guix environment` ones.:
@@ -332,6 +338,7 @@ data as NumPy arrays.")
("python-pytest" ,python-pytest)
("python-pytest-forked" ,python-pytest-forked)
("python-pytest-xdist" ,python-pytest-xdist)
+ ("python-webtest" ,python-webtest)
("nss-certs" ,nss-certs)))
(propagated-inputs
`(("python-alembic" ,python-alembic)
@@ -339,31 +346,30 @@ data as NumPy arrays.")
("python-celery" ,python-celery)
("python-configobj" ,python-configobj)
("python-dateutil" ,python-dateutil)
- ("python-docutils" ,python-docutils)
+ ("python-docutils" ,python-docutils) ; What for?
("python-email-validator" ,python-email-validator)
("python-exif-read" ,python-exif-read)
("python-feedgenerator" ,python-feedgenerator)
("python-itsdangerous" ,python-itsdangerous)
("python-jinja2" ,python-jinja2)
("python-jsonschema" ,python-jsonschema)
- ("python-ldap" ,python-ldap)
+ ("python-ldap" ,python-ldap) ; For LDAP plugin
("python-lxml" ,python-lxml)
("python-markdown" ,python-markdown)
("python-oauthlib" ,python-oauthlib)
- ("python-openid" ,python-openid)
+ ("python-openid" ,python-openid) ; For OpenID plugin
("python-pastescript" ,python-pastescript)
("python-pillow" ,python-pillow)
("python-py-bcrypt" ,python-py-bcrypt)
("python-pyld" ,python-pyld)
("python-pytz" ,python-pytz)
- ("python-requests" ,python-requests)
- ("python-setuptools" ,python-setuptools)
+ ("python-requests" ,python-requests) ; For Persona plugin, batchaddmedia
+ ("python-setuptools" ,python-setuptools) ; What for?
("python-soundfile" ,python-soundfile)
("python-sphinx" ,python-sphinx)
("python-sqlalchemy" ,python-sqlalchemy)
("python-translitcodec" ,python-translitcodec)
("python-unidecode" ,python-unidecode)
- ("python-webtest" ,python-webtest)
("python-werkzeug" ,python-werkzeug)
("python-wtforms" ,python-wtforms)))
(home-page "http://mediagoblin.org/")
@@ -386,7 +392,6 @@ media.")
("gst-plugins-bad" ,gst-plugins-bad)
("gst-plugins-ugly" ,gst-plugins-ugly)
("gobject-introspection" ,gobject-introspection)
- ("libsndfile" ,libsndfile)
;;; PDF
("poppler" ,poppler)
;; useful to have!