Getting Started with the Books Template!
Build a beautiful website for your books in a few quick steps
Let’s take a look at using TakeShape to create a webpage for your books in a few quick steps. This template can be used to showcase anything you’d like, from recipes 🍲 to movie reviews 🎥 to pictures of your adorable pupper 🐶.
1. Signup for an account at app.takeshape.io/signup. With TakeShape’s G-Suite integration, this process can be easy as 2 clicks.
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/8c103090-b06b-486a-a461-1e46a34615b6/image5.png)
2. There are many templates to help you out with the design of the webpage, and we’ll get to all of them soon. For this example, let’s click on “Shape Books.” Then we can name our project, and click “Create Project.”
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/97a40753-b891-4d30-a642-8bda3e8b8553/image2.png)
3. If we head to the navigation bar on the left, we can click on “Posts” and explore the book posts already integrated with the template. You can also add more posts by clicking “New Post” in the top right.
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/ec8b96fe-8cc8-48d6-8a61-4fff1348ec2a/image8.png)
4. We can also explore the pictures, videos, and other assets by clicking on the “Asset Library” at the top of the navigation bar. We can upload more assets by simply dragging from the desktop, or clicking “Upload” in the top right.
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/0abd77f7-db05-4c1d-bb88-56d1d9f78bcb/image10.png)
5. We have a good looking site, so let’s let the world see it. TakeShape can deploy your site to Amazon S3, Google Cloud Storage, FTP, and Netlify. For this example, we will deploy to Netlify using one-click integration. Let’s navigate to the drop-down at your project name in the top left → “Static Site” → “New Static Site” in the top right. Here we can link our TakeShape project to Netlify.
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/c33a2d81-ad56-4d4a-8f9a-3820a53673ce/image3.png)
6. Here’s what it looks like when linked to Netlify.
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/e403ffd2-42d4-482a-824c-1c57bcb2d7ec/image9.png)
7. Now let’s hit “Save” and Publish!
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/7c8e5fc6-c53b-4d85-a00d-d392faf3c12b/image6.png)
8. Check out your awesome Site!
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/ed1c0bec-4601-46cc-abd8-fd7f6ab52624/image4.gif)
9. Now that the template is up and running, it’s time to customize. Let’s clone the Github repository so we can personalize it!
git clone https://github.com/takeshape/takeshape-samples.git takeshape-samples && cd takeshape-samples/shape-books
10. To install all dependencies, lets run npm install
. Double check your Node version node -v
and make sure you are using v10.16.2
.
11. Run npx tsg init
and follow the command prompts to set up communication between your local environment and TakeShape.
12. Run npm start
to start the server. It will run on http://localhost:5000 by default.
13. Now we can make plenty of customizations to make use of this template. I want to add the name of who recommends each book. We can easily mockup how this will look in the book.html
file. The changes can be seen in the local site immediately!
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/0fa33a59-4d0b-497c-92ac-85efd1db5e33/Screen%20Shot%202019-08-11%20at%2010.14.50%20PM.png)
14. Run npx tsg deploy
to deploy your changes to the site hosted on Netlify.
15. Navigate to the website and check out your updates live!
![](https://images.takeshape.io/4d46e476-8704-42c4-8d0d-06ebdd0e3c93/dev/c3fba220-d629-4917-9ec7-d004c5bf37ec/Screen%20Shot%202019-08-11%20at%2010.20.07%20PM.png)
In these few steps, we got a TakeShape website up 🆙and running 🏃♀️and we made changes that can be viewed live on the site. From here, the possibilities are endless ♾. We’d love to see the websites you all create from this template! 🤩