-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
This guide will help you set up and run the project locally. Follow these steps to install dependencies, configure the environment, and start development.
Before setting up the project, ensure you have the following installed:
- Node.js (LTS version recommended)
- npm (comes with Node.js) or pnpm (optional)
- Git (for version control)
To verify installation, run the following commands:
node -v # Should return Node.js version
npm -v # Should return npm version
git --version # Should return Git version
-
Clone the repository
git clone https://github.com/digitalcityscience/TOSCA-2.git cd TOSCA-2
-
Install dependencies
npm install # or use pnpm # pnpm install
To start the development server, run:
npm run dev
This will start a local server, and the output will display the URL where the app is running (default: http://localhost:5173
).
π¦ project-root
β£ π public # Static assets
β£ π src # Application source code
β β£ π components # Reusable Vue components
β β£ π core # Core utilities and helpers
β β£ π router # Vue Router configuration
β β£ π store # Pinia state management
β β£ π views # Page-level components
β β£ π main.ts # Entry point of the app
β£ π package.json # Project dependencies
β£ π tsconfig.json # TypeScript configuration
β£ π vite.config.ts # Vite configuration
For a detailed explanation of each directory, refer to the Folder Structure page.
To build the project for production, run:
npm run build
The output will be placed in the dist/
folder.
You are now ready to start developing! Explore the documentation further for more details on various project aspects.
Welcome to the TOSCA Wiki! You'll find both user and developer documentation here.