Move content to docs folder and fix docker-compose(#367)

This commit is contained in:
Dmitri Karpovich 2023-08-05 23:03:48 +02:00 committed by GitHub
parent 54d715c5c3
commit c4ef65983e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1428 changed files with 17 additions and 10 deletions

13
.gitignore vendored
View File

@ -1,4 +1,9 @@
_site/ # Cache
.sass-cache/ docs/_site/
.jekyll-metadata docs/.sass-cache/
.jekyll-cache docs/.jekyll-metadata
docs/.jekyll-cache
# Intellij Idea files
.idea
*.iml

View File

@ -30,7 +30,7 @@ I have made this into a Jekyll Theme. Checkout the live demo [here](https://onli
* Your new site should be ready at `https://<username>.github.io/online-cv/` * Your new site should be ready at `https://<username>.github.io/online-cv/`
* Printable version of the site can be found at `https://<username>.github.io/online-cv/print`. Use a third party link https://pdflayer.com/, https://www.web2pdfconvert.com/ etc to get the printable PDF. * Printable version of the site can be found at `https://<username>.github.io/online-cv/print`. Use a third party link https://pdflayer.com/, https://www.web2pdfconvert.com/ etc to get the printable PDF.
Change all the details from one place: ``_data/data.yml`` Change all the details from one place: ``docs/_data/data.yml``
## To preview/edit locally with docker ## To preview/edit locally with docker
@ -39,7 +39,7 @@ docker-compose up
``` ```
*docker-compose.yml* file is used to create a container that is reachable under http://localhost:4000. *docker-compose.yml* file is used to create a container that is reachable under http://localhost:4000.
Changes *_data/data.yml* will be visible after a while. Changes *docs/_data/data.yml* will be visible after a while.
### Local machine ### Local machine
@ -47,6 +47,10 @@ Changes *_data/data.yml* will be visible after a while.
```bash ```bash
git clone https://github.com/sharu725/online-cv.git git clone https://github.com/sharu725/online-cv.git
``` ```
* Go to docs directory
```bash
cd docs
```
* Install required ruby gems * Install required ruby gems
```bash ```bash
bundle install bundle install

View File

@ -6,7 +6,4 @@ services:
ports: ports:
- 4000:4000 - 4000:4000
volumes: volumes:
- .:/srv/jekyll - ./docs:/srv/jekyll
environment:
JEKYLL_UID: 1001
JEKYLL_GID: 1001

View File

View File

@ -252,6 +252,7 @@ GEM
zeitwerk (2.6.0) zeitwerk (2.6.0)
PLATFORMS PLATFORMS
ruby
x86_64-linux x86_64-linux
DEPENDENCIES DEPENDENCIES

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View File

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 71 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Some files were not shown because too many files have changed in this diff Show More