This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
import { CommonFieldTypes, SitecoreIcon, Manifest } from '@sitecore-jss/sitecore-jss-manifest'; | |
export default function(manifest) { | |
manifest.addComponent({ | |
name: 'Profile', | |
icon: SitecoreIcon.DocumentTag, | |
fields: [ | |
{ name: 'avatar', type: CommonFieldTypes.Image }, | |
{ name: 'name', type: CommonFieldTypes.SingleLineText }, | |
{ name: 'title', type: CommonFieldTypes.SingleLineText }, |
I hereby claim:
To claim this, I am signing this object:
slmgr -dlv | |
slmgr -rearm | |
#restart | |
slmgr -dli |
import React from "react"; | |
import { useState, useEffect } from "react"; | |
import axios from "axios"; | |
import Head from "next/head"; | |
import Footer from "../components/Footer"; | |
import styles from "../styles/Home.module.css"; | |
const Index = (props) => { | |
const [bored, getBored] = useState(""); |