Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/victorshinya/website-base

Deploy your website using a Node.js server on IBM Cloud (Cloud Foundry service)
https://github.com/victorshinya/website-base

cloud-foundry ibm ibm-cloud landing-page node nodejs static-site website

Last synced: 6 days ago
JSON representation

Deploy your website using a Node.js server on IBM Cloud (Cloud Foundry service)

Awesome Lists containing this project

README

        

# Deploy your website

[![IBM Cloud Powered](https://img.shields.io/badge/IBM%20Cloud-powered-blue.svg)](https://cloud.ibm.com)
[![Platform](https://img.shields.io/badge/platform-nodejs-lightgrey.svg?style=flat)](https://developer.ibm.com/?s=nodejs/)

Use this application to deploy your webiste on cloud. Besides that, it's possible to connect your `custom domain` (.com, .io, .dev, etc) into your website in order to available your content through your domain.

![Architecture Design](doc/source/images/architecture.jpeg)

## Components and technologies

* [Node.js](https://developer.ibm.com/?s=nodejs): Platform built on the Google Chrome JavaScript engine to easily build fast and scalable network applications.

## Deploy to the cloud

You can click the button below to deploy the server to the cloud. If you want to learn more, you can read the [blog](https://medium.com/ibmdeveloperbr/o-que-e-a-ibm-cloud-e-como-subir-a-sua-primeira-aplicacao-na-nuvem-41bfd260a2b7) about IBM Cloud.

[![Deploy to IBM Cloud](https://cloud.ibm.com/devops/setup/deploy/button.png)](https://cloud.ibm.com/devops/setup/deploy?repository=https://github.com/victorshinya/website-base)

## Run your website

You need to install locally, paste/move your websit into `public` folder and then run the deploy script.

### 1. Download the app

```sh
git clone https://github.com/victorshinya/website-base.git
cd website-base
```

### 2. Paste your front-end

Paste your code (HTML, CSS, and JS files) into `public` folder.

### 3. Deploy your website

Run the script below to deploy your website.

```sh
ibmcloud cf push
```

## Run locally

To run locally, you need to run the commands below. After that, access the link on http://localhost:3000.

```sh
npm install
npm start
```

## License

MIT License

Copyright (c) 2019 Victor Shinya