-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from aodn/feature/5466-update-README
Feature/5466 update readme
- Loading branch information
Showing
4 changed files
with
96 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
node-version: 18.x | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
engine-strict=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,95 @@ | ||
# AODN Portal RC1 | ||
# Project for AODN portal v2 | ||
|
||
Release Candidate 1 - for limited release to key stakeholders of priority features. | ||
## Getting Started | ||
|
||
## Running the app locally | ||
To set up this project locally, follow these steps using Yarn and Vite for a smooth development experience. | ||
|
||
For testing the app locally ensure you have Vite, React, Yarn installed globally. | ||
## Prerequisites | ||
|
||
1. Clone the repositiory to your local machine | ||
2. Navigate to the repository's root directory | ||
3. Install the project dependencies with `yarn install` | ||
4. Run the app in dev mode `yarn dev` | ||
5. Navigate to localhost in the browser (http://localhost:5173/) | ||
- Node.js installed on your system with version 18.x || >=20.0.0 (you can use [nvm](https://github.com/nvm-sh/nvm) for changing the node version). | ||
- Npm installed on your system with version >=8.0.0 | ||
|
||
It takes a minute or two to load up the first time you run it. | ||
## Installation | ||
|
||
1. **Clone the repository:** | ||
|
||
```bash | ||
git clone <repository-url> | ||
``` | ||
|
||
2. **Navigate to the project directory:** | ||
|
||
```bash | ||
cd <project-name> | ||
``` | ||
|
||
3. **Install the project dependencies:** | ||
|
||
```bash | ||
yarn install | ||
``` | ||
|
||
4. **Run dev mode:** | ||
|
||
```bash | ||
yarn dev | ||
``` | ||
|
||
This will start the project on a local server, typically http://localhost:5173/, and you can begin exploring the enhanced data visualization features. | ||
|
||
## Dependencies | ||
|
||
List of primary dependencies: | ||
|
||
- React | ||
- Vite | ||
- Material UI | ||
- ESLint | ||
- Prettier | ||
- Husky | ||
- Vitest | ||
- Mapbox | ||
|
||
## Configuration | ||
|
||
- `.eslintrc.js` for linting rules | ||
- `vite.config.ts` for Vite build tool configuration | ||
- `tsconfig.json` for TypeScript configuration | ||
- `docker-compose` and `dockerfile` for Docker configuration | ||
- `AppThene.ts` for css theme | ||
|
||
## Styles | ||
|
||
We are using [material ui](https://mui.com/material-ui/) and our configuration theme file it's in `AppThene.ts` | ||
|
||
## Commit | ||
|
||
We are using [gitmoji](https://gitmoji.dev/) with husky and commitlint. Here you have an example of the most used ones: | ||
|
||
- :art: - Improving structure/format of the code. | ||
- :zap: - Improving performance. | ||
- :fire: - Removing code or files. | ||
- :bug: - Fixing a bug. | ||
- :ambulance: - Critical hotfix. | ||
- :sparkles: - Introducing new features. | ||
- :memo: - Adding or updating documentation. | ||
- :rocket: - Deploying stuff. | ||
- :lipstick: - Updating the UI and style files. | ||
- :tada: - Beginning a project. | ||
|
||
Example of use: | ||
`:wrench: add husky and commitlint config` | ||
|
||
## Branching name | ||
|
||
- `hotfix/`: for quickly fixing critical issues, | ||
- `usually/`: with a temporary solution | ||
- `bugfix/`: for fixing a bug | ||
- `feature/`: for adding, removing or modifying a feature | ||
- `test/`: for experimenting something which is not an issue | ||
- `wip/`: for a work in progress | ||
|
||
And add the issue id after an `/` followed with an explanation of the task. | ||
|
||
Example of use: | ||
`feature/5348-create-react-app` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters