You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
992 B

# Requires a symlink from /gnshare and /tmp/guix-gn1
# mkdir /srv/http
cwd=$(/bin/pwd)
gnshare=$(dirname $cwd)
mkdir -pv $HOME/tmp/guix-gn1
mkdir -pv $HOME/srv/http
echo httpd -f $(/home/gn1/opt/guix/bin/guix build -L $HOME/guix-past/modules/ -L $HOME/guix-bioinformatics/ -e '(@ (gn services gn1-httpd-config) GN1-httpd-config)')
echo httpd -f $(pwd)/etc/httpd.conf
/home/gn1/opt/guix/bin/guix environment \
-L $HOME/guix-past/modules/ \
-L $HOME/guix-bioinformatics/ \
-C --network \
genenetwork1 \
--ad-hoc \
vim procps binutils inetutils \
--network \
--expose=/gnu \
--expose=$HOME/srv=/srv \
--expose=$gnshare=/gnshare \
--share=$cwd/web/tmp=/gnshare/gn/web/tmp \
--share=$cwd/web/image=/gnshare/gn/web/image \
--share=$HOME/tmp=/tmp
# -- httpd -f \
# $(/home/gn1/opt/guix/bin/guix build -L /home/gn1/guix-past/modules/ -L /home/gn1/guix-bioinformatics/ \
# -e '(@ (gn services gn1-httpd-config) GN1-httpd-config)') &