-
Notifications
You must be signed in to change notification settings - Fork 0
Project Setup
Website of CodeForBC
To set up the project locally on your system, please follow the steps below:
Before proceeding with the installation, make sure you have the following prerequisites:
- Node.js (LTS version 20)
- VS Code
- SSH Key Setup: Ensure that you have set up your SSH key for authentication. If you haven't done this yet, follow the GitHub guide on generating and adding SSH keys before starting the project installation.
-
Clone the repository:
git clone [email protected]:OpenBCca/openbc-web.git
-
Navigate to the project directory:
cd openbc-web
-
Install dependencies(can skip if you want to use docker instead):
npm install
For an optimal development experience, consider installing the following VS Code extensions. They are recommended for this workspace:
Install these extensions either through the VS Code Extensions sidebar or by running the following commands in the terminal:
code --install-extension esbenp.prettier-vscode
code --install-extension dbaeumer.vscode-eslint
code --install-extension circlecodesolution.ccs-flutter-color
code --install-extension streetsidesoftware.code-spell-checker
To run the project locally, follow these steps:
-
In the VS Code terminal, start the development server using the following command:
npm start
or
docker-compose up
If you wish to use docker
-
Open your web browser and navigate to http://localhost:3000.
The project is now running locally, and you can view it in your browser. Keep the terminal open to maintain the project's active state.