Browse Source

update folder to match git folder

master
oDinZu 1 year ago
parent
commit
235b8224b7
  1. 25
      README.md
  2. 19
      generate-new-jekyll-site.sh

25
README.md

@ -4,11 +4,28 @@ This is a bash script that is used to bootstrap new Jekyll projects.
It currently supports Strapi and Drone-CI integration. The plugins and .env data must be added for Strapi and Drone-CI integration to work.
## Requirements
- Docker CE
- Docker Compose
- CLI
0. Goto the location you would like to bootstrap your Jekyll project
1. Clone this repository `git clone https://git.sharpetronics.com/sharpetronics/st-jekyll-bootstrap`
1. Clone this repository
`git clone https://git.sharpetronics.com/sharpetronics/st-jekyll-bootstrap`
2. `cd st-jekyll-bootstrap`
3. `bash ./generate-new-jekyll-site.sh`
4. `cd .. && ls`
5. `sudo docker compose up`
3. Run the bash script
`bash ./generate-new-jekyll-site.sh`
4. Move into the root of the Jekyll site
`cd .. && ls`
5. Launch the docker site
`sudo docker compose up`
#### Happy Hacking!!! :heart:

19
generate-new-jekyll-site.sh

@ -81,16 +81,25 @@ touch ./_data/global.yml
pwd
# add default contents to each file with another bash script
cp -vf ./scripts/templates/* ./
cp -vf ./st-jekyll-bootstrap/templates/* ./
# add default contents to each file with another bash script
cp -vf ./scripts/templates/pages/* ./pages/
cp -vf ./st-jekyll-bootstrap/templates/pages/* ./pages/
# add default _data files
cp -vf ./scripts/templates/data/* ./_data/
cp -vf ./st-jekyll-bootstrap/templates/data/* ./_data/
# add default _layouts templates
cp -vf ./scripts/templates/layouts/* ./_layouts/
cp -vf ./st-jekyll-bootstrap/templates/layouts/* ./_layouts/
# add default _includes templates
cp -vf ./scripts/templates/includes/* ./_includes/
cp -vf ./st-jekyll-bootstrap/templates/includes/* ./_includes/
cat <<EOF
__ _ _____ _
/ _\ |__ __ _ _ __ _ __ __/__ \_ __ ___ _ __ (_) ___ ___
\ \| _ \ / _ | __| _ \ / _ \/ /\/ __/ _ \| _ \| |/ __/ __|
_\ \ | | | (_| | | | |_) | __/ / | | | (_) | | | | | (__\__ |
\__/_| |_|\__ _|_| | __/ \___\/ |_| \___/|_| |_|_|\___|___/
|_|
EOF

Loading…
Cancel
Save