File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Makefile for managing Jekyll project for blackpythondevs.github.io
2
+
3
+ # Set up the environment by pulling the latest Ruby build definitions, installing Ruby 3.3.5,
4
+ # as seen in the .ruby-version file, installing required gems and Python packages,
5
+ # and configuring pre-commit hooks
6
+
7
+ setup :
8
+ # Pull the latest ruby-build plugin updates
9
+ - git -C /root/.rbenv/plugins/ruby-build pull
10
+
11
+ # Install Ruby version 3.3.5 using rbenv
12
+ - rbenv install 3.3.5
13
+
14
+ # Install the necessary Ruby gems defined in the Gemfile
15
+ - bundle install
16
+
17
+ # Install Python dependencies defined in requirements-dev.txt
18
+ - pip install -r requirements-dev.txt
19
+
20
+ # Set up pre-commit hooks as defined in the configuration file
21
+ - pre-commit install
22
+
23
+
24
+ # Start the Jekyll development server
25
+ start :
26
+ bundle exec jekyll serve
27
+
28
+
29
+ # Start the Jekyll server in detached mode (runs in the background)
30
+ start-detach :
31
+ bundle exec jekyll serve --detach
32
+
33
+
34
+ # Stop the detached Jekyll server (Kill the background Jekyll process)
35
+ stop-detach :
36
+ pkill -f jekyll
You can’t perform that action at this time.
0 commit comments