Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
a2fb0a67
Commit
a2fb0a67
authored
6 years ago
by
Florent Thiery
Browse files
Options
Downloads
Patches
Plain Diff
add getenvsetup.sh script
parent
41f39680
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
getenvsetup.sh
+20
-0
20 additions, 0 deletions
getenvsetup.sh
with
20 additions
and
0 deletions
getenvsetup.sh
0 → 100755
+
20
−
0
View file @
a2fb0a67
#!/bin/bash
add-apt-repository universe
apt update
apt full-upgrade
-y
apt
install
git
cd
/root
read
-p
"HTTP proxy (e.g. proxy:8080, enter to skip):"
PROXY
if
[
-z
"
$PROXY
"
]
;
then
git clone https://panel.ubicast.eu/git/mediaserver/envsetup.git
-b
stable
else
git
-c
"http.proxy=
$PROXY
"
clone https://panel.ubicast.eu/git/mediaserver/envsetup.git
-b
stable
git config
--global
http.sslVerify
false
echo
"SKYREACH_SSL_VERIFY='0'"
>>
/root/envsetup/conf.sh
echo
"Remember to run this after this script completes:"
echo
"export https_proxy='http://proxy:8080'"
echo
"export http_proxy='http://proxy:8080'"
fi
cd
envsetup
read
-p
"Paste deployment key (e.g. XXX-XXX-XXX-XXX):"
KEY
echo
"SKYREACH_ACTIVATION_KEY='
$KEY
'"
>>
/root/envsetup/conf.sh
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment