Skip to content
Journal of Hardware, Software, Crypto and CHINA.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
2019
_data
_includes
_layouts
app
assets
bin
public
.gitignore
404.md
CNAME
Gemfile
Makefile
README.md
_config.yml
favicon.ico
index.md
issues.json
issues.md
pool.md
scale-compile-pdf.sh

README.md

scale.qihardware.org

Journal for Hardware, Software, Crypto and China.

Local Setup Site

gem install bundler jekyll bundle install bundle exec jekyll serve

How to release

To release a new pdf, here so how it works :

  1. links are stored there : http://bot.qihardware.org:3000/pool
  2. upvote the best links on Telegram so the 12 best ones will make it into : http://bot.qihardware.org:3000/issues/next
  3. run the python python ./bin/import_data.py to create the yaml file forthe current week
  4. add summary and word of the week in the yaml file (manually)
  5. update pdf cover, word of the week page and png for social (manually)
  6. build the pdf -- make sure all pdfs are fetched correctly by checking the logs (manually)
  7. prepare social on buffer
  8. add a post on qi main website (manually)

Please improve !

Had problem with nokogiri had to do on

sudo gem install nokogiri -n /Library/Ruby/Gems/2.3.0/gems/ -- --use-system-libraries --with-xml2-include=/usr/include/libxml2/ --with-xml2-lib=/usr/lib/

Live Site

git push origin master

Get links from pool

NOTE: Python on mac is behind, so do this to get pip: sudo easy_install pip

Install requirements: pip install requests PyYaml

The script accept a week number as argument and will default on current week if ignored

python ./bin/import_data.py 11

Data

  • Data for the week is in _data/WEEK_NUMBER
  • Pulled PDFs go into ignored folder 2019/WEEK_NUMBER/

Compile Issue

Run this:

./scale-compile-pdf.sh

Compile another week

./scale-compile-pdf.sh WEEK_NUMBER YEAR_NUMBER(optional)

Make New Week

./bin/makeweekfile

Planning ahead for future links

./bin/makeweekfile WEEK_NUMBER YEAR_NUMBER(optional)

Contact

Contribute

You can’t perform that action at this time.