Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
research-topics-mat-tuhh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabian Nuraddin Alexander Gabel
research-topics-mat-tuhh
Commits
81cffcca
Commit
81cffcca
authored
3 years ago
by
Fabian Nuraddin Alexander Gabel
Browse files
Options
Downloads
Patches
Plain Diff
add README tu tuhh_build
parent
6aaf80f6
No related branches found
No related tags found
2 merge requests
!82
Resolve "use ssio directives to produce webpage"
,
!77
Resolve "tuhh-deployment"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/build_README.sh
+1
-1
1 addition, 1 deletion
bin/build_README.sh
bin/build_tuhh.sh
+12
-5
12 additions, 5 deletions
bin/build_tuhh.sh
with
13 additions
and
6 deletions
bin/build_README.sh
+
1
−
1
View file @
81cffcca
...
...
@@ -11,7 +11,7 @@ if [ $# -lt 2 ]
then
RESEARCH_BUILD
=
`
pwd
`
"/build"
else
RESEARCH_BUILD
=
"
$
1
"
RESEARCH_BUILD
=
"
$
2
"
fi
mkdir
-p
$RESEARCH_BUILD
rm
-rf
$RESEARCH_BUILD
/README.md
...
...
This diff is collapsed.
Click to expand it.
bin/build_tuhh.sh
+
12
−
5
View file @
81cffcca
...
...
@@ -34,7 +34,7 @@ RESEARCH_DEPLOY=$RESEARCH_ROOT/build-tuhh
rm
-rf
$RESEARCH_BUILD
$RESEARCH_DEPLOY
mkdir
-p
$RESEARCH_BUILD
$RESEARCH_DEPLOY
echo
"Preproc Topics"
echo
"Preproc
essing
Topics
...
"
$RESEARCH_BIN
/preproc_topics.sh
"
$RESEARCH_BUILD
"
\
"
$RESEARCH_ROOT
/topics"
\
"
$RESEARCH_BUILD
/home"
\
...
...
@@ -48,24 +48,24 @@ $RESEARCH_BIN/create_html.sh $RESEARCH_DEPLOY \
rm
$RESEARCH_DEPLOY
/index.md
# build html files
echo
"Creating HTML Topics with pandoc"
echo
"Creating HTML Topics with pandoc
...
"
#topics
$RESEARCH_BIN
/create_html.sh
$RESEARCH_BUILD
/forschung/topics
\
$RESEARCH_BUILD
\
TUHH
>>
$RESEARCH_BUILD
/build.log 2>&1
# include ssi directives
echo
"Inserting SSI-directives"
echo
"Inserting SSI-directives
...
"
$RESEARCH_BIN
/replace_ssi_marker.sh
$RESEARCH_DEPLOY
/forschung/topics
\
$RESEARCH_BUILD
/forschung/topics
>>
$RESEARCH_BUILD
/build.log 2>&1
echo
"Creating HTML Snippets for Staff"
echo
"Creating HTML Snippets for Staff
...
"
#staffpages
$RESEARCH_BIN
/create_html.sh
$RESEARCH_DEPLOY
/home
\
$RESEARCH_BUILD
/home
\
TUHH
>>
$RESEARCH_BUILD
/build.log 2>&1
# wg pages
echo
"Creating HTML Snippets for WG"
echo
"Creating HTML Snippets for WG
...
"
for
wg
in
aa cm dm nm st
do
$RESEARCH_BIN
/create_html.sh
$RESEARCH_DEPLOY
/forschung/
$wg
\
...
...
@@ -73,10 +73,17 @@ do
TUHH
>>
$RESEARCH_BUILD
/build.log 2>&1
done
# readme
echo
"Creating Readme..."
$RESEARCH_BIN
/build_README.sh
$RESEARCH_STATIC
/misc/TUHH_BUILD_README.md
\
$RESEARCH_DEPLOY
/
\
>>
$RESEARCH_BUILD
/build.log 2>&1
echo
"Copying files..."
cp
-r
$RESEARCH_ROOT
/img
$RESEARCH_DEPLOY
/forschung/topics
cp
-r
$RESEARCH_STATIC
/include
$RESEARCH_DEPLOY
# XBitHack (cf. https://httpd.apache.org/docs/current/mod/mod_include.html)
chmod
+x
$RESEARCH_DEPLOY
/forschung/topics/
*
.html
echo
"Done. Review file://
$RESEARCH_DEPLOY
/index.html ."
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