-
make sure
node
andnpm
are installed -
node
version must be18
or higher
$ node --version
$ v20.3.0
- clone this repo
$ cd /Users/user/my-projects
$ git clone https://github.com/lnbits/nostr.com.git
$ cd nostr.com
- install dependencies
$ npm install
- start application in dev mode (should be available at http://localhost:3000)
$ npm run dev
> dev
> next
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
- build and export the application for production use (the files are written to the
out
directory)
$ npm run build
- install
just
(see instructions here) - see commands in the
just
file