Compare commits
2 Commits
e6822c0009
...
4682aa000f
Author | SHA1 | Date | |
---|---|---|---|
4682aa000f | |||
45dd0ebcb9 |
13
.roadsignrc
Normal file
13
.roadsignrc
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"sync": {
|
||||||
|
"region": "capital",
|
||||||
|
"configPath": "roadsign.toml"
|
||||||
|
},
|
||||||
|
"deployments": [
|
||||||
|
{
|
||||||
|
"region": "capital",
|
||||||
|
"site": "capital-app",
|
||||||
|
"path": ".next"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -3,6 +3,7 @@ import type { NextConfig } from 'next'
|
|||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
/* config options here */
|
/* config options here */
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
output: 'standalone',
|
||||||
generateBuildId: async () => {
|
generateBuildId: async () => {
|
||||||
return process.env.GIT_HASH ?? 'development'
|
return process.env.GIT_HASH ?? 'development'
|
||||||
},
|
},
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev --turbopack",
|
"dev": "next dev --turbopack",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
"build-standalone": "next build && cp -r .next/static .next/standalone/.next/ && cp -r public .next/standalone",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
@ -20,7 +21,6 @@
|
|||||||
"@mui/x-charts": "^7.23.6",
|
"@mui/x-charts": "^7.23.6",
|
||||||
"@tailwindcss/typography": "^0.5.16",
|
"@tailwindcss/typography": "^0.5.16",
|
||||||
"@toolpad/core": "^0.11.0",
|
"@toolpad/core": "^0.11.0",
|
||||||
"@vercel/speed-insights": "^1.1.0",
|
|
||||||
"animate.css": "^4.1.1",
|
"animate.css": "^4.1.1",
|
||||||
"axios": "^1.7.9",
|
"axios": "^1.7.9",
|
||||||
"axios-case-converter": "^1.1.1",
|
"axios-case-converter": "^1.1.1",
|
||||||
|
15
roadsign.toml
Normal file
15
roadsign.toml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
id = "capital"
|
||||||
|
|
||||||
|
[[locations]]
|
||||||
|
id = "capital"
|
||||||
|
hosts = ["solsynth.dev", "www.solsynth.dev"]
|
||||||
|
paths = ["/"]
|
||||||
|
[[locations.destinations]]
|
||||||
|
id = "capital-destination"
|
||||||
|
uri = "http://localhost:3000"
|
||||||
|
|
||||||
|
[[applications]]
|
||||||
|
id = "capital-app"
|
||||||
|
workdir = "/workdir/capital"
|
||||||
|
command = ["node", "standalone/server.js"]
|
||||||
|
environment = ["HOSTNAME=0.0.0.0"]
|
@ -4,7 +4,6 @@ import {
|
|||||||
DocumentHeadTagsProps,
|
DocumentHeadTagsProps,
|
||||||
documentGetInitialProps,
|
documentGetInitialProps,
|
||||||
} from '@mui/material-nextjs/v15-pagesRouter'
|
} from '@mui/material-nextjs/v15-pagesRouter'
|
||||||
import { SpeedInsights } from '@vercel/speed-insights/next'
|
|
||||||
import { Html, Head, Main, NextScript, DocumentContext, DocumentProps } from 'next/document'
|
import { Html, Head, Main, NextScript, DocumentContext, DocumentProps } from 'next/document'
|
||||||
|
|
||||||
export default function Document(props: DocumentProps & DocumentHeadTagsProps) {
|
export default function Document(props: DocumentProps & DocumentHeadTagsProps) {
|
||||||
@ -17,7 +16,6 @@ export default function Document(props: DocumentProps & DocumentHeadTagsProps) {
|
|||||||
<body className="antialiased">
|
<body className="antialiased">
|
||||||
<Main />
|
<Main />
|
||||||
<NextScript />
|
<NextScript />
|
||||||
<SpeedInsights />
|
|
||||||
</body>
|
</body>
|
||||||
</Html>
|
</Html>
|
||||||
</AppCacheProvider>
|
</AppCacheProvider>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user