Skip to content

elenasamuylova/datatalksclub.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataTalks.Club Website

Running Jekyll locally

Use ruby 2.7.0:

rvm use ruby-2.7.0

gem install bundler

Running it for the first time:

bundle install

Running Jekyll:

bundle exec jekyll serve

Open http://localhost:4000

Generating a cover image

Build the docker image for the cover generator:

cd previews
docker build -t datatalks-cover-generator .
cd ..

Now let's generate the image:

  • the article: _posts/2020-12-07-practical-guide-better-code.md
  • the output file: images/posts/2020-12-07-practical-guide-better-code/cover.jpg
./scripts/generate-post-preview.sh 2021-02-01-landing-product-analyst-job

Book cover:

./scripts/generate-book-preview.sh 20210301-ml-engineering

Scripts

Installing the requirements:

python -m venv env
source env/bin/activate
pip install -r scripts/requirements.txt

cd previews
npm install
cd ..

Running:

source env/bin/activate
python scripts/create.py

About

The web page for DataTalks.Club

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 49.0%
  • Python 21.2%
  • CSS 16.8%
  • JavaScript 8.2%
  • Ruby 2.1%
  • Dockerfile 1.7%
  • Shell 1.0%