Clone the flashreads blogs repository somewhere in your workspace:
cd ~/projects/flashreads
git clone [email protected]/flashreads/blogs.git
Clone this repository:
cd ~/projects/flashreads
git clone [email protected]:flashreads:mediumish-theme-jekyll.git
Then cd into the theme repository directory:
cd mediumish-theme-jekyll
Install dependencies for posts.py
script with Python3 pip:
pip install -r scripts/requirements.txt
Then run the script to transform and generate the blog posts into _posts
:
python scripts/posts.py --source ~/projects/flashreads/blogs --dest _posts/ --featured featured.txt
That's it. Then run or build jekyll as:
bundle install --path vendor/bundle
bundle exec jekyll serve
The site should be running on http://127.0.0.1:4000.