Prerequisites
Before installing Tareas, ensure you have the following tools installed on your system:Required Software
Node.js 18+
Node.js 18+
Tareas requires Node.js version 18 or higher.Check your version:Download: Visit nodejs.org and install the LTS version.
Java 21
Java 21
Required for Android development and building APKs.Check your version:Download: Install OpenJDK 21 or Oracle JDK 21.
Set the
JAVA_HOME environment variable to your JDK installation path.npm 9+ or yarn 1.22+
npm 9+ or yarn 1.22+
Package manager for installing dependencies.Check npm version:Update npm:Install yarn (optional):
Platform-Specific Requirements
- Android
- iOS
Android StudioRequired for building and running the app on Android devices.
- Download Android Studio
- Install Android SDK Platform 34 (or latest)
- Configure Android SDK path in environment variables:
Installation Steps
Install Dependencies
Install all required packages using your preferred package manager:This installs all dependencies from
package.json, including:- Angular 20.0.0 - Core framework
- Ionic 8.7.17 - Mobile UI components
- Capacitor 8.0.1 - Native runtime
- Angular Fire 20.0.1 - Firebase integration
- RxJS 7.8.0 - Reactive programming
- TypeScript 5.9.0 - Type safety
Environment Configuration
Tareas uses Firebase for backend services. Configure your environment:Development EnvironmentThe app includes a development configuration at Production EnvironmentUpdate
src/environments/environment.ts:src/environments/environment.prod.ts with production credentials:The app uses localStorage for data persistence by default. Firebase configuration is optional for basic functionality.
Platform Setup
Web Development
No additional setup required. The app runs in the browser using Angular’s development server.www/
Android Development
A pre-built APK is available in the repository root:
/app-debug.apkiOS Development
Troubleshooting
Port 8100 already in use
Port 8100 already in use
If the development server fails to start:
Capacitor sync fails
Capacitor sync fails
Ensure you’ve built the web assets before syncing:
Android build fails - SDK not found
Android build fails - SDK not found
Set the Android SDK path:Or configure in
gradle.properties:Java version mismatch
Java version mismatch
Tareas requires Java 21. If you have multiple Java versions:
npm install fails with permissions error
npm install fails with permissions error
On Unix systems, avoid using
sudo with npm:Module not found errors
Module not found errors
Clear caches and reinstall:
Next Steps
Now that Tareas is installed, explore the app:Quickstart Guide
Create your first quest in 5 minutes
Architecture
Learn about components and services
Quest Service
Explore the CRUD operations
Gestures
Implement swipe interactions
Additional Resources
- Angular Documentation: angular.dev
- Ionic Framework: ionicframework.com
- Capacitor: capacitorjs.com
- Firebase: firebase.google.com