#Octopress
Explore tagged Tumblr posts
millenni-em-tauk · 1 year ago
Text
I can’t express how perfect and meticulous and special and detailed and meaningful and COOL and gorgeous and kickass and skillful and MAGICAL this HANDMADE BOOK IS I AM HONORED AND THANKFUL AND SO FULL OF GRATITUDE TO BE YOUR FRIEND FRAN!!!!!!!!!!!!!!!!! 💙✨💙✨💙✨💙✨💙✨💙✨💙✨💙✨💙✨
The signs for each chapter were a total surprise and are perfect and the endpapers are perfect and the Iguin on the back was another perfect surprise and the bookmark is perfect…Richeh would say I need more adjectives but in my thrilled state this is all I can think of
“SIGNED SEALED DELIVERED” eh???!!! Like signs and seals huh?! 😉🥹😭💙
Thank you from the bottom of my heart!!! 💙
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Fic: Something Reckless by @millenni-em-tauk
Fandom: Witch Hat Atelier | For: em, the author herself <3
Book #12 is for a brand-new fandom, and reading it got me so hype I went back and caught up on the entire manga in an wild insomniac blitz over four days - PLEASE READ IT. Em is a superb writer and it's truly an honor to count her among my friends, as she is unflappably considerate and smart. She is also so talented: not only did she write this fic, she drew all the illustrations!
This book was my first all-Duo book (in Mudbath) - Duo really is a pleasure to work with, which made it all the more frustrating when I fucked up the margins on the case and foiled that giant golden eye off-center. Boo! But since I refuse to turn in B+ work, especially for Em, I tossed out the case and made another - much better this time (I free-handed the little frills hanging off the tassels BOTH TIMES. Please clap.) This was also my first time chisel-trimming the block; I like how it turned out, but the power sander sings quite the siren song...
Another design note: Witch Hat Atelier is about magic that is hand-drawn, with a focus on runes/glyphs; every rune or glyph has its own unique effect/element. For every chapter, I used a different rune /glyph as the section break (nine total) for funsies.
Tumblr media Tumblr media Tumblr media
Font is Perpetua, with accents in Song of coronos and Kristi. I am starting to see the value in chapter pages having no header or footer (notes for next time.) Endpapers are Italian letterpress marble in azure/gold from Hollander's.
176 notes · View notes
hackernewsrobot · 3 years ago
Text
Speeding up this site by 50x
https://danluu.com/octopress-speedup/ Comments
0 notes
techcybersblog · 3 years ago
Text
10 Best Free And Open Source Static Site Generators To Build Your Website
Tumblr media
Static site generators are excellent for getting your website up and running quickly. Check out these top SSGs. Do you need an open-source static website generator? Your search for solutions ends here.
A website can be static or dynamic. Dynamic websites usually run on CMS (Content Management Systems) like WordPress. To provide information to a user, a content management system utilizing a database populates a website.
In static sites, a server serves static web pages to clients without making any changes. Every page of a website is an HTML file. This method is straightforward to use. This is how websites were built in the early days of the web. The homepage of a static website is a file. This article showcases 10 open-source and free static site generators available for building a website.
1. Jekyll
A static site generator, Jekyll is a pioneer in the field. Tom Preston-Werner, the co-founder of Github, released it in 2008. Written in Ruby, it creates static websites using JSON, YAML, CSV, and TSV files.
By using Jekyll, users can host their websites in their GitHub repositories, it is the best free website builder.
2. Hugo
Hugo is known for its speed when creating websites. In addition, it has a powerful theme creation system. The content-type options are extensive and it's available on multiple OS platforms.
3. Publii
Publii is a free, open-source desktop-based app. You don't have to use the site's servers since it runs locally. Therefore, you can work on your site offline.
Once you have access to your server, upload the changes and it will save them. Many kinds of uploads are available, including HTTP/HTTPS servers, Amazon S3, Netlify, SFTP, and Google Cloud.
Publii allows you to create a personal blog, portfolio, or corporate website. With this app, you can create, modify, and run unlimited websites instantly. There are no databases or credentials to remember.
4. Nuxt
Nuxt is a web framework for building static sites that are based on Vue. You can host your static Website maker free on Azure Static Web Apps as it follows the open-source model. Nuxt supports server-side rendering. Thus, it is an excellent candidate to replace traditional Vue single-page applications (SPAs)
5. Gridsome
Another open-source SSG is Gridsome. It uses Vue.js and uses GraphQL to function. Jamstack is a framework that enables it to create fast, high-performance, secure, low-cost, and better-experienced websites on the fly.
With it, you can work offline even without an internet connection, using data cached during your last interaction with the app.
6. Hexo
Node. js-powered Hexo is an easy, fast, and powerful blog platform. With it, you can use most Octopress plugins and GitHub Flavored Markdown features. A powerful API makes it possible to extend the system in any direction.
There are a variety of plugins that support most template engines, such as EJS, Pug, Nunjucks, and many others. Additionally, it integrates smoothly with NPM (Node Package Manager) packages such as Babel, Post CSS, and Less/Sass.
7. Docusaurus
Facebook developed Docusaurus as an open-source static site generator 2021. The app uses React and Markdown. Docusaurus lets you write static HTML files from Markdown docs and blog posts.
Thus, you can focus on documenting your project and save time. MDX lets you embed JSX components into Markdown. Docsaurus also comes with pre-configured localizers that can translate your documents into over 70 languages.
8. VuePress
Evan You, the creator of Vue.js, built the minimalist VuePress using Vue. Vue projects need it for technical documentation. The project uses Vue, Vue Router, and Webpack. With Markdown, VuePress is a simple and free WordPress blogging platform.
9. Eleventy
Eleventy (11ty) is a simplified Open-Source Security System. It was designed to serve as an alternative to Jekyll for JavaScript. Eleventy can operate without configuration files or commands since it has zero-config. As a result, your first project is less daunting to build. It will take you less time to get your website live.
Eleventy templates use independent engines. It will make migration easier if you decide to use something else later. Furthermore, it supports several template languages. Using each one separately or together is possible.
10. Pelican
Pelican is a Python-based open-source SSG. The tool enables you to create content using reStructuredText or Markdown markup, easily host static output, and customize themes via Jinja templates. In addition, it supports atom/RSS feeds, code format highlighting, plugins, and a plugin repository, and it is multi-lingual.
Visit to Read More (Source):- https://www.itscybertech.com/2021/09/10-best-free-and-open-source-static.html
1 note · View note
mxbees · 7 years ago
Link
so the wordpress site exploded and i don’t even know what happened. my webhost tells me that the site’s traffic was causing instability in the server and suggested cloudflare and cacheing.
which is kind of ridiculous bc no one was actually hitting the site. or not really, according to the stats.
my only real guess is that given that a certain aspect of my notoriety has been recently discussed, is that there is mayhap some sort of ddos thing happening. i don’t know.
i probably could figure it out. but… if i’m too fucking disabled to do my day job at the moment, i’m sure as shit way too fucking disabled to deal with this shit. so. i’m not dealing, lol. here’s me not dealing.
as you can see, i’m back to the octopress blog since its unlikely to buckle under the pressure of some sort of attack given that its a static site. if it even was some sort of attack.
this also means that my tinyletter newsletter will still be The Place to get my writing until i figure my shit out.
7 notes · View notes
digitalmark18-blog · 6 years ago
Text
5 alternative blogging platforms that are lighter than WordPress
New Post has been published on https://britishdigitalmarketingnews.com/5-alternative-blogging-platforms-that-are-lighter-than-wordpress/
5 alternative blogging platforms that are lighter than WordPress
Tumblr media Tumblr media
WordPress began its life as a no-fuss blogging platform. Over the years, it has evolved into a powerful engine where even complex e-commerce websites are built.
While it became easier for non-techies to build a blog or a site using WordPress, those who want more customization control are facing more complicated codes and procedures to deal with.
The dynamism of this platform comes with a longer install time and an overall heaviness since WordPress depends on a database for this. These days, however, developers are slowly getting back to basics. Lightweight blog engines are the new trend.
Of course, this trend doesn’t negate the usefulness of database-dependent dynamic CMS. Depending on the user’s need, there are certain pros and cons to using either one. But if you’re looking for something that will give you lightning-speed loading time and more theme-tinkering freedom, here are five new systems that are lighter than WordPress.
Statamic
This one is pretty much WordPress without the database. Statamic also uses PHP, making it a dynamic CMS capable of generating complex pages. Instead of dealing with cumbersome folders in a database, Statamic uses a flat filing system to store files.
Like all of the blogging platforms we’re going to talk about, this one uses Markdown to write content. Coupled with its emphasis on good-looking designs and intuitive control panel, Statamic is the best choice for those seeking to make something more than a simple blog. Of course, it’s good for pure blogging as well!
Jekyll
Before we dive into what Jekyll is, let’s first talk about static websites. As the name suggests, a static website’s content is fixed. Whatever one has written will be shown to site visitors as is, which makes it load super fast. Static websites do not use databases, so saving new data input from the front-end can’t be done as well. Most of the engines included here make static websites.
With that said, Jekyll is a static site generator. Like Statamic, it uses Markdown for content and the usual HTML, CSS, JS, and a bit of Ruby for everything else. All you have to do is type using Markdown, upload the file to a server in your hosting site like vps hosting and voila! You have a website.
There’s a good amount of Jekyll tutorial online if you want to try out this bad boy.
Octopress
One downside to Jekyll is how it requires a foundational knowledge of basic web dev languages plus Ruby, which is a bit more advanced. To help people use Jekyll with more ease, Octopress was developed as a framework. With Octopress, users can now put in themes, plugins, templates, and scripts. Responsive layout and social media integration are made available as well.
Anchor CMS
Speaking of lightweight, Anchor CMS takes it to a whole new level. Clocking in at a mere 150kb, this blogging engine allows users to publish by simply uploading a Markdown file. It’s easy to use and configure as well.
Even with its tiny footprint, Anchor CMS actually uses databases. So while it presents itself as a very simple blogging tool, users do need to know a bit of PHP. Like most of the CMSes here, this one doesn’t have a WYSIWYG editor as well. This lack of a feature, while probably the reason for its lightness, presents itself as a barrier to interested parties who do not know HTML, CSS, or PHP.
Dropplets
This one is created purely for blogging, which makes it probably the easiest one to use out of the five. Do you want to talk about quick installations? Dropplets installs in a mere 30 seconds! Jason Schuller, who developed themes for WordPress, created this. It’s free, simple to install, and comes with some beautiful templates.
WordPress is revolutionary in a way because it made building professional-looking blogs and websites accessible to people with zero web development knowledge. But if you’ve got enough of the basics down, you’ll likely appreciate the advantages that these lightweight blogging platforms are offering.
Source: https://www.bmmagazine.co.uk/tech/online-business/5-alternative-blogging-platforms-that-are-lighter-than-wordpress/
0 notes
unoabraham · 7 years ago
Text
masukomi/JekyllMail: JekyllMail enables you to post to your Jekyll / Octopress powered blog by email.
masukomi/JekyllMail: JekyllMail enables you to post to your Jekyll / Octopress powered blog by email.
https://github.com/masukomi/JekyllMail
View On WordPress
0 notes
kiyote23 · 7 years ago
Text
Gluing It All Together
Gluing It All Together
I’ve had a blog in some form or another since 1999, and I had personal websites before that, before we had the term “blog”, or the software to power it. One of the things that I love about the open web is how anyone can publish anything. Until recently, I was running an Octopress blog on a web serverI had gotten a couple of years ago when I was running my own business. Eventually though, the cost…
View On WordPress
0 notes
comp-memo · 8 years ago
Link
0 notes
nenya85 · 2 years ago
Text
@giantpacific-octopress Thank you so much!  I’m beyond speechless by the time, care and skill in these books!  I’ve been poring over the details and admiring the books ever since I got them.  Here they are on my bookcase, keeping company with The Lord of the Rings and some of my favorites - just under my Yu-Gi-Oh! shelf!
Thank you an infinite amount!
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Fic: A River in Egypt, by @nenya85 Fandom: Yugioh!
[kaiba voice] MIRU KA II! ENDPAPERS FROM JOANN'S!! WAHAHA!!
Nenya is an icon in Yugioh fandom - and an adored friend <3 It was time she got to hold a hard copy of all her hard work in her hands. Working on these books over the past few weeks has brought me insane joy, and I'm so proud of how these turned out - they are #5 and #6 in my current book tally, and I learned a pile while working on them.
The covers are silk moire in black, gold, and a sandy white, while the blue is Japanese book cloth. The body of this text is set in 10.5 point Perpetua font, with accents in Skandal and Aquifer.
Some additional details below the cut:
Every chapter in this fic starts with a little meditation/vignette on the five stages of grief...
Tumblr media
So I translated each of the five stages into their hieroglyphic equivalents (using either direct translation or good-enough approximations - I think the word I used for "bargaining" actually means "to exchange or trade.")
Tumblr media
I also managed to split the fic exactly in half, into two volumes of 17 chapters each. Volume I is 216 pages; Volume II is 208 pages. In other words, the volumes are both balanced in their chapter count and almost identical in their widths, a testament to Nenya's skill and consistency as a writer.
117 notes · View notes
sarahsmithag-blog · 8 years ago
Link
webnewspresseuropwordpresstwitterfacebookpointoo  sarah smith zahnärztin
on web space  blogigoblogg.deblogy.deantiville.deOctopress
0 notes
mrzeel · 4 years ago
Photo
Tumblr media
Work in progress making some lettering tests of the tree in the wood, which is the song my folk beasts art activity and print are inspired by. All for #FolkBeastsForAll ! Me and @thegoldenthreadproject are enjoying the stimulation of working with @hartclublondon , an organisation that champions neurodiversity in the Arts, who work with a network of charities and supported studios that facilitate artists with disabilities, dementia, brain injury, autism and other neurological variations. Together we have created Folk Beasts! :- Aimed to help vulnerable people tackling isolation, offering creative stimulus and inspiration via 17 risograph printed activity packs with the help of 17 illustrious artists Adam - @octopress Aidan - @print_wagon Beau - @ninten_beau Bette - @betteblanchard Celine - @celinelkw George - @georgefinlayramsay Hannah - @hannahjdyson Harriet - @harrietvine Holly - @hollidaystclair Jay - @jay_cover Karolina - @jajonc Lena - @lena_yokoyama Michelle - @meeshi21 Naomi - @naomiandersonsubryan Stephen - @stephenfowler_rubberstamping Tommy - @piggybankshoe Yuk Fun - @yukfunwow Zeel - @mr_zeel @artscouncilengland (at Hart Club London) https://www.instagram.com/p/CIrZqLUBLlg/?igshid=10xa0e0qod14b
0 notes
silviogulizia · 11 years ago
Text
Un nuovo blog e tre novità
Questo blog cambia. Anzi è già cambiato, ma ci sono ancora un pochino di cose da sistemare. Oggi lo vedi semplicemente diverso nell'aspetto, ma è in corso un radicale rinnovamento. Intanto non c'è più Wordpress sotto, ma Squarespace. Il motivo del "trasloco" è che Wordpress si portava via troppo tempo in ricerca e gestione dei plugin, tema grafico, backup e aggiornamento del sistema. Con Squarespace in un paio di ore ho sistemato il tema, non ci sono plugin da gestire e c'è più o meno tutto quello di cui questo blog ha bisogno. D'ora in poi il focus sarà esclusivamente sui contenuti.
Dunque, niente più sidebar, niente più spazio eccessivo ai social, nessun widget indiscreti, zero banner (pubblicitari o meno che fossero), nessun calendario o ammennicolo che possa distrarti da quello per cui sei qui: i miei post.
Questo dovrebbe permettermi di bloggare con più assiduità. Non mi donerà la pace dei sensi: il prossimo passo, già lo so, sarà Octopress, un cms a riga di comando. Sono riuscito a creare un blog in Octopress hostato su Github, continuerò a lavorarci e il mio obiettivo è migrare entro il prossimo anno. Al momento però Octopress non mi permette di bloggare facilmente in mobilità e la configurazione dei plugin è complicata. Quindi, avanti con Squarespace, di cui ti parlerò approfonditamente più avanti.
Le novità che ti riserverà nei prossimi mesi questo blog sono essenzialmente tre:
più contenuti, con link-post in luogo dei post it: praticamente, se prima condividevo su Twitter quello che di interessante trovavo in giro, aggiungendo un piccolo commento, d'ora in poi lo condividerò sul sito, con la formula usata da altri blogger come John Gruber di Daring Fireball. Vale a dire, link nel titolo alla sorgente, citazione dal post linkato e mio commento prima e o dopo. Riconoscerai questi posta da una freccia alla fine del titolo;
podcast: questo è un obiettivo a medio termine. Ho notato che quando mi scateno con un tema che mi appassiona alla gente piace stare ad ascoltarmi. Per questo proverò a usare anche questo strumento. Fonte di ispirazione in questo caso è The Weekly Briefly di Shawn Blanc;
membership: progetto a lungo termine. In futuro alcuni contenuti extra saranno a pagamento. Non tanto perché abbia bisogno di monetizzare, quanto perché voglio creare una community attorno al blog. Questa cosa succederà se e solo se questo blog saprà offrirti dei buoni motivi per pagare due euro al mese di "abbonamento". Per il momento, l'unica formula di esclusività a cui sto lavorando è la newsletter. Finora tutti i contenuti invitati in newsletter li potevi ritrovare sul blog dopo qualche giorno. Prossimamente non sarà così: in newsletter ti arriveranno tutti i nuovi post, più una specifica newsletter più o meno settimanale con materiale che non è finito nei post e che non verrà più pubblicato sul sito.
1 note · View note
sherrygym · 10 years ago
Text
Restart!
The last time I wrote, I had set some small goals for myself that I hoped to achieve as I embarked on a journey of bringing about some changes in my life. Unfortunately, I have not been persistent enough to even start with them. I sort of forced myself to write this entry so that I can at least tick one item off of that list which was to write 2 blog entries per week. Actually I was able to write only one entry last week so technically I have not even done one thing.
My wife read through the first entry and was encouraging in her response although she must be seeing it play over once again. She probably thinks I'm having another bout of making a positive change in my life which will only end up in a blog post and will never materialize into anything.
Last year I started learning the blogging platform Octopress. I was going through a similar phase then where I had some ideas and wanted to learn something new but things were just not translating into action. And then I came across Octopress and POOF! It looked simple enough to learn and non-trivial enough to invest time in. I had this idea of a blog and Octopress looked like a great way to bring it to life. I just started going through the documentation and started creating it. I think I had the blog live in a week's time and started sharing it with some friends to get initial feedback.
To be honest, I had some high expectations for a simple blog and since the feedback over the next few weeks was lukewarm, I was a little discouraged. I knew at the back of my mind that success isn't instant and I had to be persistent and just keep coming out with new content but I guess it's easier said than done the first time you do something. Anyways, I finally had my mind grounded and I just started updating the blog without any expectations whatsoever. Then my wife learnt the process of updating the blog and she started taking care of it. Around 4 months after I started the blog, we just stopped updating it. We were not creating content on our own. It was a blog in the entertainment industry which required sourcing information from at least 7-8 sources. So it wasn't a very easy task. With a toddler at home, I guess we couldn't just juggle multiple things and the blog took a back seat almost forever.
The reason I mention this now is because my wife and I plan to start posting new content on that blog. The reason we stopped updating it in the first place is still there and more so now since we have a one month old as well but we felt that we can go back to it and may be do 1 entry every week or two instead of having it lie dormant altogether.
Coming back to the other two things that I was planning to do - I haven't started mediating yet but surely will. As for tracking, I was looking to see if there are any solutions out there but I couldn't find anything. That may be a reason to build one on my own. I am thinking through it and will probably post about it the next time.
0 notes
kylewelsh · 10 years ago
Text
Labor Day Weekend
Happy Labor Day!
We initially had plans to go camping this last weekend of summer but the very long stretch of gorgeous weather here in Seattle finally had a small glitch, so we decided we would stay home and not do a whole lot. School starts next week for the girls, so a long weekend with no plans sounded good to everyone.
I had trouble sleeping early this Labor Day and decided to take care of a…
View On WordPress
0 notes
kiyote23 · 8 years ago
Text
Quote Blogging
I started blogging a long time ago, back in 1999. Back then, blogs were mostly lists of links. People found cool things on the internet and shared them, and when you wanted to “surf the web,” you’d go to one of these blogs and start picking through the links that they had shared. The word “blog” is shorthand for “Web log,” the log you kept of the cool places you had found.
<!— more —>
I was inspired by Jorn Barger’s Robot Wisdom. As Ogi Djuraskovic notes on First Site Guide, Jorn basically invented the blog with Robot Wisdom:
The whole process of collecting interesting things from around the world and writing about them on the internet was a new idea, and so it needed a new name. Jorn decided to call it “logging the web”, which made Robot Wisdom, of course, the first web log. So it became Robot Wisdom Weblog, and the blogosphere was born on December, 17, 1997.
I started playing with some web-based software that was in beta called Blogger, and started my own blog in 1999.
Blogging exploded then the way that podcasts have exploded now. It was simple and easy to do, particularly once dynamic site building came along with Wordpress and Moveable Type. Keeping a blog became a very personal way to record your experiences, sharing them with the rest of the internet. Blogging developed into a publishing platform, an easy way to self-publish your journals, your articles, your essays about any topic you wanted. Instead of being a way to find cool new things, blogs started to become end points unto themselves.
I really liked sharing links. I found it to be a great way to process what I’ve read. If I found something interesting, I’d grab a quote from the article that caught my eye, and then post the link and the quote. But usually I wouldn’t comment on it, and I actually got an email from Jorn saying that if I didn’t start commenting, he was going to stop checking my site.1 Commenting was a step further in processing what I had read, and when I tried it, it felt too superficial, too off the cuff to feel convincing or good to me. The quote usually felt good, so I kept with it.
Dorkfarm started out as a separate blog. My original blog, Knobby Low Boy Quarterly, had morphed into Dorky, but it was essentially the same thing, a Blogger blog that was mostly links and quotes, the occasional picture, and very rarely, a longer piece that I had written. Dorkfarm was meant to be different, long form pieces with a very specific focus on the coding projects I was working on at the time. It was meant to be my professional portfolio, something I could direct people towards to show them what I had learned.
After I secured a job, though, my interest in coding cooled, and I started expanded the topics on Dorkfarm to cover other things, things I was reading, things I was thinking about, video games I was playing. I was more comfortable writing longer posts, though it would take me several years to finally develop a comfortable workflow to do so.
Dorky, however, fell by the wayside, particularly after I started to withdraw from social media. I ran into some problems with how it was being hosted, and decided to integrate it into Dorkfarm. Now the posts in Dorkfarm stretch back to that first Knobby Low Boy post, back in 1999.
But getting back into social media recently reminded me that I like sharing things on the Internet. I’ve been trying to read more, and I’m trying to read more critically, and approaching something as something I might share forces me to look at it more closely. I guess it’s like the difference between reading something for fun and reading something for school.
Dorkfarm is an Octopress blog, meaning that it’s a static site that’s generated on my iMac and uploaded to my web server when I update it. Dorky, being a Blogger blog, was a dynamic site, meaning that the pages were created as the user requests them, using information stored in a database. With Dorky, I had a Javascript bookmarklet in my browser bar that would allow me to share a link to what I was reading to my blog in a couple of clicks. With Dorkfarm, each blog post has to be written up as a Markdown file and processed. Basically, Dorkfarm is a great platform for longer posts, but a little cumbersome for quickly sharing links.
Which maybe, in the end, isn’t that bad. As I’m starting to share links more, I’m also trying to comment on them. There’s a reason why this is interesting to me, and I should be able to articulate it. I think I’m having a little trouble finding the voice and the audience, but have to write out each post will force me to slow down, and think about it a little more.
This memory is fuzzy. I know Jorn emailed this to me, but I can’t find the email anywhere. But when I was looking at the Wayback Machine archive for Robot Wisdom, I found the link to Knobby Low Boy Quarterly listed towards the bottom. Under weblogs, it’s listed as KLBQ.↩
from dorkFarm http://ift.tt/2rTVvto via IFTTT
0 notes
alanmoment · 12 years ago
Text
慶祝Octopress開張
搞了老半天終於搞定,來試試看好不好用!!! 立馬來一篇教學文。Github + Octopress
安裝 RVM
Installing RVM這邊有非常完整的教學。
建立Octopress
找一個讓程式碼安身的地方,我習慣放在home。(好吧這是來亂的)
$ mkdir /home/ruby
接著就是到Github 登入或註冊帳號,並且開一個新的Repositories,以我為範例就是 alanmoment.github.com,然後就是Ctrl+C 、Ctrl+V的快樂時光。
$ rvm install 1.9.2 && rvm use 1.9.2 $ git clone git://github.com/imathis/octopress.git octopress Initialized empty Git repository in /home/ruby/octopress/.git/ remote: Counting objects: 10296, done. remote: Compressing objects: 100% (4511/4511), done. remote: Total 10296 (delta 5628), reused 9415 (delta 4937) Receiving objects: 100% (10296/10296), 2.28 MiB | 1.01 MiB/s, done. Resolving deltas: 100% (5628/5628), done. $ cd octopress Do you wish to trust this .rvmrc file? (/home/ruby/octopress2/.rvmrc) y[es], n[o], v[iew], c[ancel]>y Using /usr/local/rvm/gems/ruby-1.9.3-p374 $ gem install bundler $ bundle install $ rake install
以上環境就建置完成囉。
緊接著要產生出blog需要的程式碼,輸入你剛開的Repositories,建立完成後會將branch從master切換到source這邊如果Repositories不對的話,整個blog會變得很怪無法使用。
$ rake setup_github_pages Enter the read/write url for your repository (For example, '[email protected]:your_username/your_username.github.io) Repository url:[email protected]:alanmoment/alanmoment.github.com.git
產生blog所需要的檔案,每次有修改或新增文章都要做這件事囉。
$ rake generate $ rake deploy
我暫時先改了以下幾個變數,並且開了Google Plus、Facebook的3rd party
$ vim _config.yml title: 艾倫之血汗屎 subtitle: 新鮮的肝全奉獻在這了 author: Alan google_plus_one: true facebook_like: true
建立一篇新的文章
$ rake new_post['New Post']
最後就是把新增的、改過的東西通通放到Github上囉
$ git add . $ git commit -m 'create octopress' $ git push origin source
修改About me
在這邊可以修改介紹自己的敘述,想要多臭屁都可以。
$ rake new_page["about"] $ vim source/_includes/custom/asides/about.html
修改自己的大頭照
My Gravatars申請帳號或登入,然後上傳一張自己可愛的大頭照
接著在_config.yml配置email
$ vim _config.yml # RSS feeds can list your email address if you like email: "[email protected]"
Octopress預設會去抓My Gravatars有設定的email。太聰明啦!!
建立屬於自己的Domain
建立Custom Domain之前得先在source底下建立CNAME
$ echo 'alanmoment.ocomm.com.tw' >> source/CNAME
接下來才是設定DNS,因為我是用Subdomain所以多了個A設定
alanmoment.ocomm.com.tw. IN CNAME alanmoment.github.io. alanmoment.github.io. IN A 207.97.227.245
若是不想建立,其實Github已經有提供連結給你用囉,棒呆啦!!以我為範例就是http://alanmoment.github.io/
建立Google Analytics
登入Google Analytics,並且建立一個分析帳戶,取得帳戶編號。設定非常簡單,只要在config內找到google_analytics_tracking_id打上編號。
$ vim _config.yml $ google_analytics_tracking_id: UA-********-1
建立Octopress的Disqus Comments
Disqus申請帳號或登入吧!接著修改config開啟你的Disqus,佈署之後就會在每一篇文章底下看到Comments囉,超方便。
$ vim _config.yml # Disqus Comments disqus_short_name: alanmoment disqus_show_comment_count: true
更改Octopress的版型
官網的repo有提供非常多的版型,在這邊我是選擇了justin-kelly-theme。
$ cd octopress $ git clone https://github.com/wallace/justin-kelly-theme.git .themes/justin-kelly-theme $ rake install['justin-kelly-theme'] $ rake generate
最後吶喊~~ 我架好啦!!!! 打完收工。
呼~打文章真的還蠻辛苦的,話雖如此,總算有個窩囉,繼續努力!!!
6/19/2013 9:40:14 AM
每次佈署都要打上兩段,好麻煩!!
$ rake generate $ rake deploy
發現一個快速的方法
$ rake gen_deploy
6/20/2013 10:44:35 PM
因為有更新rails所以發生了一些錯誤無法使用
$ rake preview root:/home/ruby/octopress(source)# rake preview rake aborted! You have already activated rake 10.1.0, but your Gemfile requires rake 0.9.6. Using bundle exec may solve this. /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bundler-1.3.5/lib/bundler/runtime.rb:33:in `block in setup' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bundler-1.3.5/lib/bundler/runtime.rb:19:in `setup' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup' /usr/local/rvm/gems/ruby-1.9.3-p374/gems/bundler-1.3.5/lib/bundler/setup.rb:7:in `<top (required)>' /home/ruby/octopress/Rakefile:2:in `<top (required)>' (See full trace by running task with --trace)
因為我裝了rake 10.1.0而設定檔還在rake 0.9.6所以我要修改Gemfile把rake改為10.1.0
$ vim Gemfile gem 'rake', '~> 0.9.2'
替換為
gem 'rake', '~> 10.1.0'
就又可以用囉!!!
$ rake preview root:/home/ruby/octopress(source)# rake preview Starting to watch source with Jekyll and Compass. Starting Rack on port 4000 [2013-06-20 22:47:24] INFO WEBrick 1.3.1 [2013-06-20 22:47:24] INFO ruby 1.9.3 (2013-01-15) [i686-linux] [2013-06-20 22:47:24] INFO WEBrick::HTTPServer#start: pid=5879 port=4000 Configuration from /home/ruby/octopress/_config.yml Auto-regenerating enabled: source -> public
參考:
Otcopress官網
0 notes