forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
docker-compose up --watch | ||
docker compose pull | ||
docker compose up | ||
PAUSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
REM Delete all running containers | ||
REM Stop all running Docker containers | ||
FOR /f "tokens=*" %%i IN ('docker ps -q') DO docker stop %%i | ||
REM Serve jekyll in directory | ||
docker run --rm -v "%cd%:/srv/jekyll" -p "8080:8080" -it amirpourmand/al-folio:latest /bin/sh -c "bundle install && jekyll serve --host 0.0.0.0 --port 8080 --watch" | ||
PAUSE | ||
|
||
REM Serve Jekyll with bundler exec to resolve gem conflicts | ||
docker run --rm -v "%cd%:/srv/jekyll" -p "8080:8080" -p "35729:35729" -it amirpourmand/al-folio:latest /bin/sh -c "bundle update && bundle exec jekyll serve --host 0.0.0.0 --port 8080 --watch --livereload --force_polling" | ||
|
||
PAUSE |