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
5b0c429d
Commit
5b0c429d
authored
9 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Refining the zeronet forum
parent
c0feca72
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
+7
-4
7 additions, 4 deletions
src/freedombone-meshweb
with
7 additions
and
4 deletions
src/freedombone-meshweb
+
7
−
4
View file @
5b0c429d
...
...
@@ -19,6 +19,8 @@ ZERONET_DIR=/home/$MY_USERNAME/zeronet
UPDATED
=
"no"
ZERONET_DEFAULT_BLOG_TITLE
=
"
$(
hostname
)
's Blog"
ZERONET_DEFAULT_BLOG_TAGLINE
=
"Blogging on the Mesh"
ZERONET_DEFAULT_FORUM_TITLE
=
"
$(
hostname
)
's Forum"
ZERONET_DEFAULT_FORUM_TAGLINE
=
"A decentralized discussion group"
function
install_zeronet_blog
{
if
[
!
-f
/home/
$MY_USERNAME
/README
]
;
then
...
...
@@ -163,10 +165,11 @@ function install_zeronet_forum {
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/
$(
hostname
)
's Forum/g"
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/index.html
sed
-i
"s/ZeroTalk/
$(
hostname
)
's Forum/g"
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/index.html
sed
-i
's|<h3 class="description">.*|<h3 class="description">Freedom in the Mesh</h3>|g'
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/index.html
sed
-i
"s/Messaging Board Demo/Messaging Board/g"
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/content.json
sed
-i
"s/ZeroBoard/
$ZERONET_DEFAULT_FORUM_TITLE
/g"
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/index.html
sed
-i
"s/ZeroTalk/
$ZERONET_DEFAULT_FORUM_TITLE
/g"
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/index.html
sed
-i
's|Demo for dynamic, decentralized content publishing.|$ZERONET_DEFAULT_FORUM_TAGLINE|g'
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/index.html
sed
-i
's/Messaging Board Demo/Messaging Board/g'
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/content.json
sed
-i
"s/ZeroBoard/
$ZERONET_DEFAULT_FORUM_TITLE
/g"
$ZERONET_DIR
/data/
$ZERONET_FORUM_ADDRESS
/content.json
python zeronet.py siteSign
$ZERONET_FORUM_ADDRESS
$ZERONET_FORUM_PRIVATE_KEY
# Add an avahi service
...
...
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