Benson Muite & Bernard Banta – Building an Online Store With Gitlab Pages
Many businesses today find that having an online storefront is increasingly becoming a necessity if they want to maintain and grow their customer base. However, in Kenya where ecommerce is rapidly growing, entrepreneurs and small business owners are finding that many professional ecommerce platforms haven’t been designed for the local market and are either expensive and/or cannot be easily customized for their needs.
Thankfully, checkout tools such as Flutter and Stripe allow one to turn a simple static webpage into an online shop. GitLab CI/CD provides a mechanism to run tests, track changes, and deploy static websites using GitLab Pages. For many small businesses who want their own online space at a low cost and low complexity, this is an ideal solution. This solution is also helpful for projects that have associated merchandise. In this session, Benson will give an overview of how this system is being used in Kenya along with recorded a demo
Transcript
Next up, I would like to introduce Benson Muite and Bernard Banta. Now, Benson and Bernard are using GitLab in a very unique way. They're using GitLab pages as an e-commerce platform in Kenya, where the economics of e-commerce work a little bit differently.
What's really exciting is they're here to tell you about what they've done and even to share their code repos with you so that you can get started with a sample application using GitLab pages for e-commerce yourself. Let's check it out. Good afternoon, good evening, good morning everybody, wherever you are and welcome to GitLab Commit Virtual 2020.
io/presentation/. We will be talking about building an online store with GitLab pages, and this is work that we've done as part of the African Ruby community in Nairobi, a community of software developers based out of Nairobi, Kenya. So outline of our talk we'll give you a quick introduction, our experiences, what we use and how we will use GitLab as an e-commerce solution, a demo, then a little bit of technical details on GitLab pages and static site generators, things to consider when shipping, finding payment options, feedback, and finally, a quick demonstration of how you might fork the repository and set up your own shop.
So I'll now let Bernhard introduce Nairobi, Kenya. Hello, my name is Bernard Banta, I'm an entrepreneur and a software engineer . Together with Benson, we currently run the African Ruby Association.
So it started from we started that from Nairobi and Nairobi, it started initially as Nairuby, which is which was a Ruby user group. And what we do is we bring developers and entrepreneurs together and share ideas and mentor each other. Some of the activities that we do include monthly meet ups, conferences, international conferences, which we've done four so far.
And right now we are planning to build this e-commerce application. We haven't launched it yet. It's already built.
And we hope they're going to be able to raise funds by having people buy our merchandise. So give you some idea, Nairobi is a not so rich city in Kenya. The average income per month expected GDP per month is about 150 dollars.
And there's a large informal sector who could also make use of e-commerce. So we have a picture here showing a street vendor. And if you think of GitLab as an e-commerce solution, it's actually very ideal because there's almost zero startup costs.
You can get a branded online shop, you can use social media, you can take advantage of social coding and make some profit and also online projects. You can use it as a project swag shop. So, this can also be an ideal use of the platform.
So we have several demo shops. We have a first shop that we have made for Nairuby, which we'll show and the second one that's in development, and then also show the GitLab shop to give you some idea. And the aim is, instead of being part of some huge online mall or somebody else's huge online mall, you have your own online storefront that you can individually customize.
And so our first shop that we had built let's show this now. Can be found here, and that's a banner, description of the products , opportunity indicate location, and obtain payment information. So that's online.
I wanted something that better reflected the community so slightly updating that. And this is now coming up, and while that's loading, I'll also load up the GitLab shop. So this is version two that's in progress.
org, and this is directly hosted on GitLab pages and you get some idea of the products. So. And this is linked to social media, about us, so you can have a little about us, right?
And you can also take a look at GitLab shop. So there's a catalog listing of items. Think of the GitLab shop is not run on GitLab pages, but it's powered by Shopify.
So what's nice about GitLab pages, you get free hosting for your static websites. Are very many nice examples and you can use CI CD to generate the shop site. You can also use CI CD to update your merchandise.
And if you're keeping inventory and it's not too large, then a simple file will allow you to do that and update whenever there's a sale. So it's a static site. The idea is you take a program and this will actually generate the website for you from a template.
And since we use Ruby, if we look at Middlemen and Jekyll and the idea is you take a picture, you're going to get some pricing, get a short description, you put this in a markdown file, you're on this historic site generator and this generates your shop that's open 24/7. So it's kind of a schematic. You run generator and your computer generates a Web page which goes onto a server.
And this is accessible on the Internet. So you also need to think about shipping. In Kenya, we look at companies such as Fargo and Sendy, you can also deliver by hand or by foot in the US.
S. Postal Service and they actually have an open workflow that can allow you to maybe design a shop, online shop for cost. If you have a static page, you actually need to think about how you're going to do this.
So if you're a delivery provider, has an API, you can use this or you can find a pricing formula. And in Kenya, we find the latitude and longitude can also be helpful to specify because not every place is addressed. Then you need to pay.
So there are a number of integrations. Some include flutterwave, Lipapay, Paypal, Razorpay, Stripe to pay. Shopify also has a static website integration in Stripe.
These have different payment costs, so you might need to check the payment volume of your sales, but they'll easily integrate into a static website and can be used. So finally, feedback, this is one area we've been looking at. Many blogs will use Disqus.
So this is something you actually put in your site and are is actually show up on this last site here. So if you were to click on a product, this will show up and you'll be able to get reviews and comments based on what you had thought of the product purchased. You can also chat service if you want to give feedback.
So now go and show you how to set up a demo. So this is a main site hosted on GitLab. And as you can see, there is a configuration file for Ruby.
You can check out the source code. So the source code consists of a number of index files and index and information, which files and images for your products. And then this is run through a static generator and generates a Web page.
So the size GitLab pages is nice for static e-commerce websites. It's cost effective and it can also be used for open source projects that have swag. I'd like to thank the Nairuby community and Emukule Ekirapa for help with some initial versions of this and hopefully continued versions.
com/tunauza. org. Thank you for your attention.