Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hifis.net
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
HIFIS
Overall
hifis.net
Commits
7bc7ce11
Commit
7bc7ce11
authored
2 years ago
by
Christian Meeßen
Committed by
Uwe Jandt (DESY, HIFIS)
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adds a makefile
parent
d6e9641a
No related branches found
Branches containing commit
No related tags found
1 merge request
!638
Adds a makefile
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+29
-0
29 additions, 0 deletions
Makefile
README.md
+22
-1
22 additions, 1 deletion
README.md
with
51 additions
and
1 deletion
Makefile
0 → 100644
+
29
−
0
View file @
7bc7ce11
# Use this makefile in Linux to build and serve the local development environment
# with one command.
# Please make sure to have Jekyll and ffmpeg installed
.PHONY
:
all install clean serve install-dependencies install-submodules jumbotrons
all
:
install jumbotrons serve
install
:
install-dependencies install-submodules
serve
:
bundle
exec
jekyll serve
--future
clean
:
rm
-rf
assets/img/jumbotrons/desktop
rm
-rf
assets/img/jumbotrons/display_2k
rm
-rf
assets/img/jumbotrons/phone
rm
-rf
assets/img/jumbotrons/tablet
rm
-rf
.jekyll-cache
rm
-rf
_site
install-dependencies
:
Gemfile Gemfile.lock
bundle
install
install-submodules
:
.gitmodules
git submodule update
--init
--recursive
jumbotrons
:
bash scripts/create_jumbotrons.sh assets/img/jumbotrons/
This diff is collapsed.
Click to expand it.
README.md
+
22
−
1
View file @
7bc7ce11
...
...
@@ -6,6 +6,8 @@ is built using Jekyll.
## Build the project locally
### Manually
1.
Clone the project locally
```
bash
git clone
--recursive
https://gitlab.hzdr.de/hifis/hifis.net.git
...
...
@@ -48,7 +50,26 @@ Execute the commands above from the root of your repository.
More information is available in Jekyll's
[
documentation
](
https://jekyllrb.com/docs/
)
### Using the Makefile
If you are using Linux, you may also use the provided
`Makefile`
. After having
cloned the repository (Step 1 above), make sure to have Jekyll and ffmpeg installed.
Now you can start the local development server by running
```
shell
make all
```
Individual steps can also be called:
```
shell
make
install
# install dependencies and update submodule
make jumbotrons
# build the jumbotrons using ffmpeg
make serve
# start the dev server
make clean
# Remove all generated/downloaded files
```
## Fetch the latest builds from gitlab
The latest master branch (production) build artifacts can be downloaded using
*
https://gitlab.hzdr.de/hifis/hifis.net/-/jobs/artifacts/master/download?job=build:production
*
https://gitlab.hzdr.de/hifis/hifis.net/-/jobs/artifacts/master/download?job=build:production
This diff is collapsed.
Click to expand it.
Uwe Jandt (DESY, HIFIS)
@jandt-desy
mentioned in issue
#429 (closed)
·
2 years ago
mentioned in issue
#429 (closed)
mentioned in issue #429
Toggle commit list
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