Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
64410ebb
authored
6 years ago
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openbsd: fix virtualenv bootstrap
parent
734cd29e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
bootstrap-openbsd.sh
+7
-4
No files found.
bootstrap-openbsd.sh
View file @
64410ebb
...
@@ -24,10 +24,13 @@ then
...
@@ -24,10 +24,13 @@ then
git clone https://git.ik.bme.hu/circle/agent.git agent
git clone https://git.ik.bme.hu/circle/agent.git agent
fi
fi
python2
-m
virtualenv /usr/local/virtualenvs/agent
virtenv
=
/usr/local/virtualenvs/agent
.
/usr/local/virtualenv/agent/bin/activate
if
[
!
-d
$virtenv
]
;
then
pip install
-r
/root/requirements.txt
python2
-m
virtualenv
$virtenv
deactivate
.
$virtenv
/bin/activate
pip install
-r
/root/agent/requirements.txt
deactivate
fi
cp bootstrap/openbsd/usr/sbin/mount_circle-userstore /usr/sbin/mount_circle-userstore
cp bootstrap/openbsd/usr/sbin/mount_circle-userstore /usr/sbin/mount_circle-userstore
cp bootstrap/openbsd/rc.d/agent /etc/rc.d/agent
cp bootstrap/openbsd/rc.d/agent /etc/rc.d/agent
...
...
This diff is collapsed.
Click to expand it.
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