christianalfoni/EmptyBox
Tentang
A complete isomorphic hackable blog service based on React JS
Pengembangan web dan aplikasiYang dapat Anda lakukan
- Isomorphic by default
- Write articles in Github Markdown
- Articles are automatically bundled with your application and lazy loaded
- When editing markdown files and saving, the application HOT LOADS the article, magic!
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliEmptyBox
A complete isomorphic hackable blog service based on React JS
Concept
Inspired by the Jekyll blog service. EmptyBox is a boilerplate ready for production. Instead of only producing a static page, you can run the service yourself. This puts EmptyBox in isomorphic mode. This will render the page on the server and deliver it quickly over the wire. On the client React JS takes over and adds your functionality. When the user continues to navigate your blog it will all happen in the client. This gives the best possible user experience.
Features
- Isomorphic by default
- Write articles in Github Markdown
- Articles are automatically bundled with your application and lazy loaded
- When editing markdown files and saving, the application HOT LOADS the article, magic!
- Add whatever functionality you want. Simple APIs gives you access to the articles
- Add Google Webfonts with automatic base64 inlining using package.json
Getting started
- Fork the repo and clone it to your computer
- In project root
npm installto install dependencies npm startto start the service- Go to
localhost:3000 - You can add new articles in the
posts/folder. Use this convention on filename:2015_02_28_MyArticle.md
Loading fonts
- Go to: google-webfonts-helper and find the fonts you want to use
- Identify the name and types, then update the package.json file, e.g. { ..., "blog": { "fonts": { "Roboto": ["regular", "700"] } } ... } If only using the "regular"-version, set an empty array
- Just start the blog with
npm startand fonts are downloaded and inlined automatically
Deploying to Heroku
- Create a Heroku account
- Add Heroku git repo as upstream to your fork
- When you want to push new version, push it to upstream
Jelajahi proyek terkait
Memuat…