- NPM (WAJIB PAKE NPM) v10.9.0
- NodeJS (WAJIB PAKE NODEJS) v22.11.0
- Python (WAJIB PIPENV) 3.9 version
- Text Editor ( VSCode )
- ESLint Plugin (WAJIB PAKE ESLINT)
- Prettier Plugin (WAJIB PAKE PRETTIER)
main
branch is the production branchstaging
branch is the staging branchdevelop
branch is the development branch
if you want to create a new feature, please create a new branch from dev
branch and push to dev
branch
with following naming convention:
feature/feature-name
if you want to create a new bugfix, please create a new branch from dev
branch and push to dev
branch
with following naming convention:
bugfix/bugfix-name
if you want to create a new thing that not very necessary (rename file, rename folder, change color), please create a new branch from dev
branch and push to dev
branch
with following naming convention:
chore/chore-name
if you want to create a new release, please create a new branch from main
branch and push to main
branch
with following naming convention:
release/release-name
if you want to create a new feature, please create a new commit from dev
branch and push to dev
branch
with following naming convention:
chore: chore name
if you want to create a new thing that not very necessary (rename file, rename folder, change color), please create a new commit from dev
branch and push to dev
branch
with following naming convention:
feature: feature name
if you want to create a new bugfix, please create a new commit from dev
branch and push to dev
branch
with following naming convention:
bugfix: bugfix name
- Clone the repository
git clone https://github.com/IMPHNEN/imphnen-website.git
- Install dependencies
npm install
- Setup .env
cp .env.example .env
- Install dependencies
npm run build
- Run production
npm run preview
- Build the image
docker build -t imphnen-website .
- Run the container
docker run -p 3000:3000 imphnen-website
- Run with compose
docker compose up -d