Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muqsit/arithmexp-demo-site
Demo site for Muqsit/arithmexp as a Next.js site deployed on Cloudflare Pages
https://github.com/muqsit/arithmexp-demo-site
Last synced: 19 days ago
JSON representation
Demo site for Muqsit/arithmexp as a Next.js site deployed on Cloudflare Pages
- Host: GitHub
- URL: https://github.com/muqsit/arithmexp-demo-site
- Owner: Muqsit
- Created: 2023-04-01T19:14:40.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-13T06:53:25.000Z (4 months ago)
- Last Synced: 2024-10-09T14:40:56.662Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://arithmexp.pages.dev
- Size: 162 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# arithmexp-demo-site
Next.js demo site for Muqsit/arithmexp deployed on [Cloudflare Pages](https://pages.cloudflare.com/).## Deployment
- Visit the Cloudflare Pages Portal and create a Next.js project. As this Next.js site contains server-side rendering, make sure you select the non-static Next.js site option.
- Configure the following environment variables (you will need to host the `arithmexp_evaluator.php` script):
Name | Value
-----|----
`NODE_VERSION` | `16`
`ARITHMEXP_EVALUATOR` | `https://example.com/arithmexp_evaluator.php`
- Go to the Pages project settings page (Settings > Functions > Compatibility Flags), add the `nodejs_compat` flag.