A CLI tool with starter apps
to create a new dev app.
sudo npm install -g create-dedevs-app
- Node.js v22 or later
- pnpm
-
Clone the repository:
git clone https://github.com/DeDevsClub/create-dedevs-app.git
-
Navigate to the project directory:
cd create-dedevs-app
-
Install dependencies (for all apps):
pnpm apps:install
-
Build all apps:
pnpm apps:build
-
Start all apps:
pnpm apps:dev
To create a new project, run the following command and follow the prompts:
pnpm start
You can also use the CLI command if installed globally:
create-dedevs-app
- index.js: Main entry point for the CLI tool, handles user prompts and project creation.
- apps/: Contains starter templates for different types of projects.
- package.json: Contains project metadata and dependencies.
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature-name
- Commit your changes:
git commit -m "Description of changes"
- Push to your branch:
git push origin feature-name
- Open a pull request.
Please ensure your code adheres to the project's coding standards and includes appropriate tests.