You'll need to run two terminals (or bring in a process manager like concurrently/pm2-dev if you like):
Start the development asset server and GunDB Constructor
npm run dev
In a new tab start your express app:
npm run start:dev
This starts your app in development mode, which will purge the server require cache when Remix rebuilds assets so you don't need a process manager restarting the express server.
First, build your app for production:
npm run build
Then run the app in production mode:
npm start
- server, databases (plural), routes and app client are built in one package
- data writes to database
- ledger routes
- document/ services attachment to dynamic namespaces
- yaml markup to html parser (fun)
- namespace searching and categories
- styling