-
Notifications
You must be signed in to change notification settings - Fork 0
/
atom.xml
154 lines (90 loc) · 8.17 KB
/
atom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[SpreeCasts]]></title>
<link href="http://spreecasts.github.com/atom.xml" rel="self"/>
<link href="http://spreecasts.github.com/"/>
<updated>2013-03-26T08:48:39+01:00</updated>
<id>http://spreecasts.github.com/</id>
<author>
<name><![CDATA[Peter Berkenbosch]]></name>
</author>
<generator uri="http://octopress.org/">Octopress</generator>
<entry>
<title type="html"><![CDATA[Episode 6 - Part 2 - Deploying]]></title>
<link href="http://spreecasts.github.com/blog/2013/03/25/episode-6-part-2-deploying/"/>
<updated>2013-03-25T23:38:00+01:00</updated>
<id>http://spreecasts.github.com/blog/2013/03/25/episode-6-part-2-deploying</id>
<content type="html"><![CDATA[<p>In this part I will deploy the webshop to <a href="http://www.digitalocean.com">Digital Ocean</a> using <a href="http://www.cloud66.com">Cloud66</a></p>
<!-- more -->
<iframe src="http://player.vimeo.com/video/62658736" width="850" height="478" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p> <p><a href="http://vimeo.com/62658736">EP6P2</a> from <a href="http://vimeo.com/peroictsolutions">PeRo ICT Solutions</a> on <a href="http://vimeo.com">Vimeo</a>.</p> <p>Part 2 in the "From Scratch" serie. Here we will deploy the spree webshop to DigitalOcean using Cloud66</p></p>
<h2>Shownotes</h2>
<p><a href="https://www.cloud66.com/help/manifest_files">Cloud66 Manifest files</a></p>
<p>Deployment path:</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>/var/deploy/mtgspree/web_head/current</span></code></pre></td></tr></table></div></figure>
<p><a href='http://www.pledgie.com/campaigns/19597'><img alt='Click here to lend your support to: Improve Spreecasts and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/19597.png?skin_name=chrome' border='0' /></a></p>
<p><strong>Disclaimer: I have no affiliation with Cloud66 or Digital Ocean. I just like their products.</strong></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Episode 6 - part 1 - setup Spree 1-3-stable]]></title>
<link href="http://spreecasts.github.com/blog/2013/03/13/episode-6-part-1-setup-spree-1-3-stable/"/>
<updated>2013-03-13T15:42:00+01:00</updated>
<id>http://spreecasts.github.com/blog/2013/03/13/episode-6-part-1-setup-spree-1-3-stable</id>
<content type="html"><![CDATA[<!-- more -->
<iframe src="http://player.vimeo.com/video/62608433" width="850" height="478" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p> <p><a href="http://vimeo.com/62608433">EP6P1</a> from <a href="http://vimeo.com/peroictsolutions">PeRo ICT Solutions</a> on <a href="http://vimeo.com">Vimeo</a>.</p> <p>Part 1 in the "From Scratch" serie. Here we will create a rails app and add Spree 1-3-stable</p></p>
<h2>Shownotes</h2>
<p>ruby 1.9.3, I use <a href="https://github.com/sstephenson/rbenv">rbenv</a></p>
<p>Install Rails and ImageMagick</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>gem install rails
</span><span class='line'>brew install imagemagick</span></code></pre></td></tr></table></div></figure>
<p>Create a new rails app with ActiveRecord and rSpec</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>rails new mtgspree -m http://railswizard.org/fb4911f700fd7f21213d.rb -T</span></code></pre></td></tr></table></div></figure>
<p>Add <a href="https://github.com/spree/spree/tree/1-3-stable">spree 1-3-stable</a> branch to Gemfile.</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>gem "spree", github: "spree/spree", branch: "1-3-stable"</span></code></pre></td></tr></table></div></figure>
<p>Run the install generator, skip the sample data.</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>rails g spree:install --sample=false</span></code></pre></td></tr></table></div></figure>
<p>Add <a href="https://github.com/spree/spree_auth_devise/tree/1-3-stable">spree_auth_devise 1-3-stable</a> branch to Gemfile</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>gem 'spree_auth_devise', github: "spree/spree_auth_devise", branch: "1-3-stable"</span></code></pre></td></tr></table></div></figure>
<p>Install and run the migrations</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>rake railties:install:migrations
</span><span class='line'>rake db:migrate</span></code></pre></td></tr></table></div></figure>
<p>You can also run</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>rake spree_auth:install:migrations
</span><span class='line'>rake db:migrate</span></code></pre></td></tr></table></div></figure>
<p>Set the correct user_class in config/initializers/spree.rb</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>Spree.user_class = "Spree::User"</span></code></pre></td></tr></table></div></figure>
<p>Create an admin user</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>rake spree_auth:admin:create</span></code></pre></td></tr></table></div></figure>
<p>Next episode will focus on deploying this application to <a href="http://www.digitalocean.com">DigitalOcean</a> using <a href="http://www.cloud66.com">Cloud66</a></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Spree E-Commerce Shop from scratch to deployment - series]]></title>
<link href="http://spreecasts.github.com/blog/2013/03/13/spree-e-commerce-shop-from-scratch-to-deployment-series/"/>
<updated>2013-03-13T12:00:00+01:00</updated>
<id>http://spreecasts.github.com/blog/2013/03/13/spree-e-commerce-shop-from-scratch-to-deployment-series</id>
<content type="html"><![CDATA[<p>After a few months the SpreeCasts show will continue! This time we will build a shop from scratch til deployment and further.</p>
<!-- more -->
<p>The shop will be the base shop for all future episodes and will be 100% open source. The shop will be selling <a href="http://www.wizards.com/Magic/TCG/Default.aspx">Magic the Gathering</a> cards and will be hosted at <a href="http://mtgspree.nl">MtG Spree</a>.</p>
<p>In the first episode I will create a 1.3 Spree shop using the gems from git for Spree and for the spree_auth_devise extension as well.</p>
<p>The next episode will show you how to deploy this shop to a number of blazing fast servers at <a href="http://digitalocean.com">Digital Ocean</a>using <a href="http://www.cloud66.com">Cloud66</a></p>
<p>I will be using PostgreSQL as the database using <a href="http://postgresapp.com">Postgresapp</a> and rSpec for testing.</p>
<p>Feel free to add suggestions and request in the comments for the future episodes.</p>
]]></content>
</entry>
</feed>