Skip to content
Merged

prod #19

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1 @@
This is a [Next.js](https://nextjs.org) template.

## Getting Started

Start using this template by doing:

```sh
npx create-next-app@latest --example "https://github.com/EarthyScience/next-project-site" [your-project-name]
```

then in your `new-project-name` directory do

```sh
npm install
```

and run the development server:

```bash
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

## serve locally `out`

```sh
npx serve@latest out
```
# Earthnet initiative
2 changes: 1 addition & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import createMDX from '@next/mdx'
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export' as const,
basePath: process.env.NODE_ENV === 'production' ? '' : '',
basePath: process.env.NODE_ENV === 'production' ? '/earthnet.tech' : '',
images: {
unoptimized: true,
},
Expand Down
Loading