Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
5befd9cf
Commit
5befd9cf
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
also added elasticsearch to PyPy packages
parent
8506f480
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
deploy.sh
deploy.sh
+4
-2
No files found.
deploy.sh
View file @
5befd9cf
...
@@ -25,10 +25,9 @@ ln -s /home/gliders/bin/composer.phar /home/gliders/bin/composer
...
@@ -25,10 +25,9 @@ ln -s /home/gliders/bin/composer.phar /home/gliders/bin/composer
# Set up python environment and directories
# Set up python environment and directories
mkdir
-p
/home/gliders/code
mkdir
-p
/home/gliders/code
mkdir
-p
/home/gliders/pythonenv
/home/gliders/pypyenv
mkdir
-p
/home/gliders/pythonenv
mkdir
-p
/var/gliders/www /var/gliders/www_dev /var/gliders/logs
mkdir
-p
/var/gliders/www /var/gliders/www_dev /var/gliders/logs
virtualenv /home/gliders/pythonenv
--system-site-packages
virtualenv /home/gliders/pythonenv
--system-site-packages
virtualenv
-p
/usr/bin/pypy /home/gliders/pypyenv
--system-site-packages
echo
'source /home/gliders/pythonenv/bin/activate'
>>
/home/gliders/.bash_profile
echo
'source /home/gliders/pythonenv/bin/activate'
>>
/home/gliders/.bash_profile
source
/home/gliders/pythonenv/bin/activate
source
/home/gliders/pythonenv/bin/activate
...
@@ -43,11 +42,14 @@ cd gliders-tools
...
@@ -43,11 +42,14 @@ cd gliders-tools
python setup.py
install
python setup.py
install
if
[
-f
/usr/bin/pypy
]
;
then
if
[
-f
/usr/bin/pypy
]
;
then
mkdir
-p
/home/gliders/pypyenv
virtualenv
-p
/usr/bin/pypy /home/gliders/pypyenv
--system-site-packages
source
/home/gliders/pypyenv/bin/activate
source
/home/gliders/pypyenv/bin/activate
pypy
-m
pip
install
pymysql
pypy
-m
pip
install
pymysql
pypy
-m
pip
install
python-dateutil
pypy
-m
pip
install
python-dateutil
pypy
-m
pip
install
lxml
==
3.4.4
pypy
-m
pip
install
lxml
==
3.4.4
pypy
-m
pip
install
sqlalchemy
pypy
-m
pip
install
sqlalchemy
pypy
-m
pip
install
elasticsearch
pypy setup.py
install
pypy setup.py
install
source
/home/gliders/pythonenv/bin/activate
source
/home/gliders/pythonenv/bin/activate
fi
fi
...
...
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