Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Context Sensitive Group
freedombone
Commits
6a977fb8
Commit
6a977fb8
authored
9 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Peg mesh clients to specific commits
parent
3d52c309
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-meshweb
+13
-3
13 additions, 3 deletions
src/freedombone-meshweb
with
13 additions
and
3 deletions
src/freedombone-meshweb
+
13
−
3
View file @
6a977fb8
...
...
@@ -13,11 +13,14 @@ SERVER_INSTALLATION="no"
PEERS_FILE
=
/tmp/meshwebstart
ZERONET_REPO
=
'https://github.com/HelloZeroNet/ZeroNet'
ZERONET_REPO
=
'https://github.com/HelloZeroNet/ZeroNet.git'
ZERONET_COMMIT
=
'675bd462556c541d65e2d95f91f899146a373aad'
ZERONET_BLOG_REPO
=
'https://github.com/HelloZeroNet/ZeroBlog'
ZERONET_
FORUM_REPO
=
'https://github.com/HelloZeroNet/ZeroTalk
'
ZERONET_
BLOG_COMMIT
=
'bbb0d6c36465fed2e6df71f1aab45fcc9c6ad609
'
ZERONET_MAIL_REPO
=
'https://github.com/HelloZeroNet/ZeroMail'
ZERONET_MAIL_COMMIT
=
'955af09d643c72b02e4983d71eca5c0c93a6c131'
ZERONET_FORUM_REPO
=
'https://github.com/HelloZeroNet/ZeroTalk'
ZERONET_FORUM_COMMIT
=
'e2d2c9cb1cfbfef91b244935efb5c14c2ad95faa'
ZERONET_URL
=
http://127.0.0.1:43110
ZERONET_PORT
=
15441
TRACKER_PORT
=
6969
...
...
@@ -151,6 +154,8 @@ function install_zeronet_blog {
echo
$'ZeroBlog repo could not be cloned'
exit
6739
fi
cd
/opt/zeronet/ZeroBlog
git checkout
$ZERONET_BLOG_COMMIT
-b
$ZERONET_BLOG_COMMIT
echo
$"Blog address:
$ZERONET_BLOG_ADDRESS
"
echo
$"Blog private key:
$ZERONET_BLOG_PRIVATE_KEY
"
...
...
@@ -340,7 +345,10 @@ function install_zeronet_forum {
echo
$'ZeroTalk repo could not be cloned'
exit
6739
fi
echo
$"Forum address:
$ZERONET_FORUM_ADDRESS
"
cd
/opt/zeronet/ZeroTalk
git checkout
$ZERONET_FORUM_COMMIT
-b
$ZERONET_FORUM_COMMIT
echo
$"Forum address:
$ZERONET_FORUM_ADDRESS
"
echo
$"Forum private key:
$ZERONET_FORUM_PRIVATE_KEY
"
cp
-r
$ZERONET_DIR
/ZeroTalk/
*
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
sed
-i
"s/ZeroBoard/
$ZERONET_DEFAULT_FORUM_TITLE
/g"
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/index.html
...
...
@@ -420,6 +428,8 @@ function install_zeronet {
if
[
!
-d
$ZERONET_DIR
]
;
then
exit
56823
fi
cd
$ZERONET_DIR
git checkout
$ZERONET_COMMIT
-b
$ZERONET_COMMIT
#cd $ZERONET_DIR
#git checkout bashrc/bootstrap-file
# Hack to ensure that the file access port is opened
...
...
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