Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
659df632
Commit
659df632
authored
Jul 07, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/slapos: Example script to build slapos from source.
parent
a21caad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
component/slapos/build.sh
component/slapos/build.sh
+35
-0
No files found.
component/slapos/build.sh
0 → 100644
View file @
659df632
#!/bin/bash
#
# This simple script to buildout slapos from source using 1.0 branch on
# /opt/slapos folder, adapt this script as you please.
#
# Be carefull to not run this script were the script is already installed.
# Use sudo or superuser and create slapos directory (you can pick a different directory)
mkdir
-p
/opt/slapos/log/
cd
/opt/slapos/
# Create buildout.cfg SlapOS bootstrap file
echo
"[buildout]
extends = https://lab.nexedi.com/nexedi/slapos/raw/1.0/component/slapos/buildout.cfg
"
>
;
buildout.cfg
# Required in some distros such as Mandriva
unset
</span> PYTHONPATH
unset
</span> PYTHONDONTWRITEBYTECODE
unset
</span> CONFIG_SITE
#
# Bootstrap SlapOS, using forked version of buildout.
#
wget https://bootstrap.pypa.io/bootstrap-buildout.py
python
-S
--builout-version
python
-S
bootstrap-buildout.py
--buildout-version
2.5.2+slapos009
-f
http://www.nexedi.org/static/packages/source/slapos.buildout/
#
# Warning:Depending on your distribution you might need to
# replace python by python2 in the last command. This happens when your
# distribution considers that the standard python is the 3.x branch.
#
# Finally start to build
bin/buildout
-v
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