Skip to content

Commit

Permalink
Merge branch 'enhancement/eslint-action' of github.com:shapehq/shape-…
Browse files Browse the repository at this point in the history
…docs into enhancement/eslint-action
  • Loading branch information
simonbs committed Oct 22, 2023
2 parents e27425a + c3ecac9 commit 61d9a87
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

# shape-docs

Portal displaying our projects that are documented with OpenAPI.
Portal displaying our projects that are documented with OpenAPI. Hosted on [docs.shapetools.io](https://docs.shapetools.io) and [staging.docs.shapetools.io](https://staging.docs.shapetools.io).

[![Build](https://github.com/shapehq/shape-docs/actions/workflows/build.yml/badge.svg)](https://github.com/shapehq/shape-docs/actions/workflows/build.yml)
[![Test](https://github.com/shapehq/shape-docs/actions/workflows/test.yml/badge.svg)](https://github.com/shapehq/shape-docs/actions/workflows/test.yml)

## Running the App Locally
## 💻 Running the App Locally

Create a file named `.env.local` in the root of the project with the following contents. Make sure to replace any placeholders and generate a random secret using OpenSSL.

Expand Down Expand Up @@ -74,3 +74,18 @@ npm run dev
```

Finally, open the application on https://dev.local:3000.

## 🚀 Deploying the App

The app is hosted on Heroku in two different environments.

|Environment|URL|Branch|
|-|-|-|
|Staging|[staging.docs.shapetools.io](https://staging.docs.shapetools.io)|develop|
|Production|[docs.shapetools.io](https://docs.shapetools.io)|main|

Each environment is deployed by merging changes into their respective branch. Heroku is responsible for observing changes to the repository and schedule a deployment when changes are observed.

## 📖 Getting Started with Shape Docs

Details on getting started showing documentation on Shape Docs can be [found on our Conflouence](https://shapedk.atlassian.net/wiki/spaces/DEVELOPERS/pages/3795615745/Shape+Docs).
8 changes: 7 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
eslint: {
// Allows production builds to successfully complete even if it has linting errors.
// This is only OK bevause we do linting as part of our CI setup.
ignoreDuringBuilds: true,
}
}

module.exports = nextConfig

0 comments on commit 61d9a87

Please sign in to comment.