This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { createServer } = require("http") | |
| const { parse } = require("url") | |
| const next = require("next") | |
| const dev = process.env.NODE_ENV !== "production" | |
| const app = next({ dev }) | |
| const port = 4000 | |
| const handle = app.getRequestHandler() | |
| const startServer = async function startServer() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "created_at": "2021-01-04T11:07:48.238Z", | |
| "updated_at": "2021-03-04T16:45:07.727Z", | |
| "title": "SEO Metadata", | |
| "uid": "seo_metadata", | |
| "_version": 4, | |
| "inbuilt_class": false, | |
| "schema": [ | |
| { | |
| "data_type": "text", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Prepare the env for the required dependencies: Development Tools and | |
| sudo yum -y groupinstall "Development Tools" | |
| sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
| # on RHEL 7 it is recommended to also enable the optional, extras, and HA repositories since EPEL packages may depend on packages from these repositories: | |
| sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" --enable "rhel-ha-for-rhel-*-server-rpms" | |
| # Check enabled repos | |
| yum repolist |