Devispro45 / nebula-web-app

Home Page:nebula-web-app.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run development server

Install node.js and yarn (macOS)

brew install node
npm install -g yarn

Install iTerm2 (macOS)

https://iterm2.com/

If you run dev server without iTerm2, you can see 3 macOS default terminals.

Set the local Root CA (macOS)

https://github.com/FiloSottile/mkcert

brew install mkcert
mkcert -install
mkcert example.com "*.example.com" example.test localhost 127.0.0.1 ::1

This step makes 2 *.pem files on your terminal location

Set the file locations to system env (e.g. .zshrc)

export LOCALHOST_HTTPS_CERT="/Your/location/localhost+1.pem"
export LOCALHOST_HTTPS_KEY="/Your/location/localhost+1-key.pem"

They will use in ~/app/vite.config.ts file (for https://)

Get repository

git clone https://github.com/nebula-protocol/nebula-web-app.git
cd nebula-web-app
yarn install
cd app
yarn run start

After that, it will open iTerm2 terminal and a chromium browser window.

About

nebula-web-app.vercel.app


Languages

Language:TypeScript 98.7%Language:JavaScript 0.8%Language:CSS 0.2%Language:HTML 0.2%Language:Shell 0.0%