Skip to content

Instantly share code, notes, and snippets.

View ertugrulozcan's full-sized avatar

Ahmet Ertuğrul Özcan ertugrulozcan

View GitHub Profile
{
"_id": "65ad529ed843f5262b009384",
"name": "Ana Sayfa",
"description": "Home Page",
"slug": "home-page",
"sections": [
{
"guid": "ca5e9bf3-8541-4e21-baa2-138e3d936230",
"name": "Main Carousel",
"slug": "main-carousel",
import type { NextApiRequest, NextApiResponse } from 'next'
import { ElasticClusterHealthReport } from '@/models/diagnostics/ElasticClusterHealthReport'
import { ErrorResponseModel } from '@/models/ErrorResponseModel'
import { HttpMethod } from '@/models/RequestModel'
const handler = async (req: NextApiRequest, res: NextApiResponse<ElasticClusterHealthReport | ErrorResponseModel>) => {
const response = await fetch(`${process.env.ELASTIC_URL}:9200/_cluster/health`, {
method: HttpMethod.GET
});
.block-container {
width: 100%;
max-width: 910px;
}
@media (min-width: 1140px) {
.block-container {
max-width: 950px;
}
}
import React, { useState, useEffect } from "react"
import { Dropdown, Button } from "antd"
import { ReduxStore } from "../../redux/ReduxStore"
import { useDispatch } from "react-redux"
import { changeDarkMode } from "../../redux/reducers/ThemeReducer"
import { MoonIcon, SunIcon, ComputerDesktopIcon } from '@heroicons/react/24/solid'
type ThemeSwitcherProps = {
className?: string
};
export const defaultResources = {
cms: [
"contents",
"content-types",
"collections",
"pages",
"nested-types",
"cms-webhooks",
"cms-events",
"redirections",

ErtisCMS Ecosystem Installation

MongoDB Build & Run

docker run -d --name mongodb -p 27017:27017 -v data-vol:/data/db -t mongo:latest`

Lookup MongoDB Container IP

docker inspect --format '{{ .NetworkSettings.IPAddress }}' 
<wsdl:definitions
xmlns=""
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:tns="http://tempuri.org/"
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<wsdl:definitions
xmlns=""
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
using System;
/*
*
***
*****
*******
*********
*******