Skip to content

UoaWDCC/tansa

Repository files navigation

TANSA

Welcome to the Tansa repository! 🚀

Follow the steps below to get up and running quickly!

Tech Stack

Getting Started

Prerequisites

Make sure you have the following installed:

Tip: Install pnpm using npm with the following command:

npm install -g pnpm@latest-10
  • Git: Ensure you have Git installed to manage version control.

Installing Git

To check if Git is installed, run:

git --version

If Git is not installed, follow these steps:

  1. Download Git from git-scm.com
  2. Install Git following the setup instructions for your OS
  3. Verify the installation by running:
    git --version

Clone the Repository

Run the following command in your terminal at your desired directory:

git clone https://github.com/UoaWDCC/tansa.git

Install Dependencies

Navigate to the project root and install the required dependencies:

pnpm install

Setup Environment Variables

Create a .env file in the root directory and configure the following settings:

# Database Configuration
DATABASE_URI=
PAYLOAD_SECRET=

# AWS S3 Storage
S3_BUCKET=
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_REGION=

Start the Project

To launch the development environment, run:

pnpm dev

Once the server is running, the application will be available at:

  • Frontend: http://localhost:3000
  • Admin Page: http://localhost:3000/admin

Branching Strategy & Git Commit Standards

Creating a New Branch

Before starting any new work, create a new branch using the following convention:

git checkout main  # Switch to the main branch
git status # checking if your up to date
git checkout -b feature/your-feature-name # checkout and create a new branch called your feature

Writing Commit Messages

Follow this format for commit messages:

[type]: [Short description]

[Optional: Additional details about the change]

Examples:

  • feat: add user authentication
  • fix: resolve crash on login page
  • docs: update README with setup instructions
  • refactor: optimize database query

Pushing and Merging

Once your changes are complete, push your branch and create a pull request:

git add .
git commit -m "feat: implement new dashboard UI"
git push origin feature/your-feature-name

After creating a pull request, request a review before merging.

Enjoy coding with Tansa! 💻✨

Contributors ✨

Thank you to these wonderful people (emoji key):

Koutaro Yumiba
Koutaro Yumiba

💻

kouTARO PLS HELP ME WITH 220 PLEASE PLEASE PLEASE PLEASE

TANSA IS THE BEST 1234! !!!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published