Getting Started
Step 1: Clone the Base code repository
Clone Repository
git clone git@repo.ekbana.info:frontend-v2/bootstrap-codebase.gitStep 2: Checkout to branch
Fetch the latest branch
git fetch origin cms-1.0Checkout to latest branch
git checkout cms-1.0Step 3: Setup .env file
Create a new file in root path named .env.local with the following values:
NEXT_PUBLIC_BASE_URL = 'your base api url' //https://dev-tcmv2.ekbana.info/apiCan use the provided api so that login can be done using personal OA credentials for testing purpose.
Step 4: Install packages
Run the following command
yarn installStep 5: Run app for development
yarn run devRuns the app in the development Open http://127.0.0.1:3000 (opens in a new tab) and IF port 3000 is unavailable, please check your terminal to see in which port the app is running and redirect likewise.