This repo holds the source code for Portfolio+, a portfolio manager for the Talking Lands community.
- Node.js
- Yarn
- Git
- Nginx
- Navigate to the nginx folder.
- In the nginx.conf file. inside the http block add the following:
server {
listen 3000;
server_name portfolio.tl.localhost;
location / {
proxy_pass http://localhost:3005;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
- Restart the nginx service by running
start nginx
from the nginx folder.
- Clone the repo:
git clone https://github.com/TalkingLands/tl-portfolio-plus-ui.git
- Install dependencies:
yarn install
- Refer the environment variables used in the source code from .env.example file and set them in .env.local file.
- Run
yarn dev
to start the development server. - Run
yarn build
to build the production bundle. - Run
yarn preview
to start the production server.