Initialization
Run thezopio
init command:
Terminal
.env
files. You can read more about environment variables here.
Database
You will need to scaffold the database using the schema defined inpackages/database/prisma/schema.prisma
:
Terminal
CMS
You will need to setup the CMS. Follow the instructions here, but the summary is:- Fork the
basehub/zopiolabs/zopio
template - Get your Read Token from the “Connect to Your App” page
- Add the
BASEHUB_TOKEN
to your Environment Variables
Development
Run the development server with:Terminal
- http://localhost:3000/ — Main App.
- http://localhost:3001/ — Website.
- http://localhost:3002/ — API.
- http://localhost:3003/ — Email Preview.
- http://localhost:3004/ — Docs
- http://localhost:3005/ — Prisma Studio
- http://localhost:6006/ — Storybook
You can start any of the above tools independently with
Terminal