Skip to content

Commit 1ee1d05

Browse files
leslitagorditaandystevensname
authored andcommitted
[New] Deploy MERN with One-Click Apps (#2433)
* MERN one-click draft * Copy / Tech Edit * Copy/Tech Edit 2
1 parent e020949 commit 1ee1d05

File tree

1 file changed

+79
-0
lines changed
  • docs/platform/one-click/deploy-mern-with-one-click-apps

1 file changed

+79
-0
lines changed
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
author:
3+
name: Linode Community
4+
email: docs@linode.com
5+
description: 'Deploy the MERN stack on Linode with One-Click Apps.'
6+
keywords: ['mongodb','mern','react','express', 'web app']
7+
license: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)'
8+
published: 2019-04-02
9+
modified: 2019-04-02
10+
modified_by:
11+
name: Linode
12+
title: "Deploy MERN with One-Click Apps"
13+
contributor:
14+
name: Linode
15+
external_resources:
16+
- '[MongoDB Getting Started](https://docs.mongodb.com/manual/tutorial/getting-started/)'
17+
- '[Express Hello World Example](https://expressjs.com/en/starter/hello-world.html)'
18+
- '[React Getting Started](https://reactjs.org/docs/getting-started.html)'
19+
- '[Node.js Getting Started](https://nodejs.org/es/docs/guides/getting-started-guide/)'
20+
---
21+
22+
## MERN One-Click App
23+
24+
A MERN (MongoDB, Express, React, Node.js) stack is a free and open-source web software bundle used to build modern web applications:
25+
26+
- [MongoDB](https://www.mongodb.com/) is a document database used to persist your application's data.
27+
28+
- [Express](https://expressjs.com/) serves as the web application framework.
29+
30+
- [React](https://reactjs.org/) is used to build your application's user interfaces using JavaScript. React offers a server-side rendering function which makes it easier for search engines to crawl your web application.
31+
32+
- [Node.js](https://nodejs.org/en/about/) serves as the run-time environment for your application.
33+
34+
All of these technologies are well-established, offer robust feature sets, and are well-supported by their maintaining organizations. These characteristics make them a great choice for your applications. Upload your existing MERN website code to your new Linode, or use MERN's scaffolding tool to start writing new web applications on the Linode.
35+
36+
### Deploy a MERN One-Click App
37+
38+
{{< content deploy-one-click-apps>}}
39+
40+
### MERN Options
41+
42+
| **Field** | **Description** |
43+
|:--------------|:------------|
44+
| **MongoDB Admin Password** | The administrative password for your MongoDB database. *Required*. |
45+
46+
### Linode Options
47+
48+
| **Configuration** | **Description** |
49+
|:--------------|:------------|
50+
| **Select an Image** | Debian 9 is currently the only image supported by the MERN One-Click App, and it is pre-selected on the Linode creation page. *Required*. |
51+
| **Region** | The region where you would like your Linode to reside. In general, it's best to choose a location that's closest to you. For more information on choosing a DC, review the [How to Choose a Data Center](/docs/platform/how-to-choose-a-data-center) guide. You can also generate [MTR reports](/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/) for a deeper look at the network routes between you and each of our data centers. *Required*. |
52+
| **Linode Plan** | Your Linode's [hardware resources](/docs/platform/how-to-choose-a-linode-plan/#hardware-resource-definitions). The Linode plan you deploy your MERN stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you will deploy a more robust web app, then consider a plan with higher RAM and CPU allocations. If you decide that you need more or fewer hardware resources after you deploy your app, you can always [resize your Linode](/docs/platform/disk-images/resizing-a-linode/) to a different plan. *Required*. |
53+
| **Linode Label** | The name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. *Required*. |
54+
| **Root Password** | The primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Your root password can be used to perform any action on your server, so make it long, complex, and unique. *Required*. |
55+
56+
57+
### Getting Started After Deployment
58+
59+
After your MERN One-click App has finished installing, you can:
60+
61+
- [Connect to your Linode via SSH](/docs/getting-started/#connect-to-your-linode-via-ssh). You will need your Linode's root password to proceed.
62+
63+
- Install the [MERN CLI](http://mern.io/documentation.html) (command line interface) a utility that provides code generation and scaffolding capabilities.
64+
65+
- Consult the following guides to learn more about working with the various components of the MERN stack:
66+
67+
- [Build Database Clusters with MongoDB](/docs/databases/mongodb/build-database-clusters-with-mongodb/)
68+
- [Deploy a React Application on Linode](/docs/development/javascript/deploy-a-react-app-on-linode/)
69+
70+
71+
### Software Included
72+
73+
| **Software** | **Description** |
74+
|:--------------|:------------|
75+
| **MongoDB** | Document-based database |
76+
| **Express** | Web application framework |
77+
| **React** | JavaScript library |
78+
| **Node JS** | Runtime environment |
79+
| **UFW (UncomplicatedFirewall)** | Firewall utility. Ports 22/tcp for IPv4 and IPv6 will allow incoming traffic. All other ports will have the following firewall rules: deny (incoming), allow (outgoing). |

0 commit comments

Comments
 (0)