This project is a a demo website for Stripe built with Prismic and Next.js.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You will need to make sure that you have Node.js installed on your machine.
After installing Node, run the following command to install now globablly on your machine.
npm install -g now
Run the following command to install the project dependencies:
npm install
As of version 15.0.0 of now
you can use the now dev
command to run the project in your local machine in serverless mode. You can use this to set up and test your routing in now.json
without having to deploy to Now for every small change. Development server will be running in http://localhost:3000/
now dev
or
npm run dev
Signup for Now for deploying your site using serverless features. The required routing and setup files are already included in the project. Just run the now
command in your project folder if you have installed it, or try the included package.
now
or
npm run deploy
- Prismic - Prismic repository
- Next.js - React framework
- Now - Zeit - Serverless deployment
- Levi Gable - Initial work - levimykel
See also the list of contributors who participated in this project.
This software is licensed under the Apache 2 license, quoted below.
Copyright 2019 Prismic (https://prismic.io).
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.