Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.