This repository contains a Deno script that automates the creation of a new GitHub repository, clones it locally, initializes a project using a chosen JavaScript framework (Angular, React, Vue, Svelte), and installs a CSS framework (Tailwind, Bootstrap, or Bulma). It also automates dependency installation and starts the development server.
- Automatically creates a GitHub repository and clones it locally.
- Supports multiple JavaScript frameworks:
- Angular
- React
- Vue
- Svelte
- Supports CSS frameworks:
- Tailwind CSS
- Bootstrap
- Bulma
- Installs project dependencies.
- Starts the development server based on the selected framework.
- Deno v2 RC installed.
- GitHub Personal Access Token with repository permissions.
- npm installed for handling package installations.
To get started, clone this repository locally:
git clone https://github.com/peterbenoit/your-repo-name.git
Ensure you have your GitHub token set as an environment variable:
export DENO_GITHUB_TOKEN=your_personal_access_token
Run the Deno script to automate the project setup:
deno run --allow-net --allow-env --allow-run=git,npx,npm --allow-read setup-project.ts
Alternatively, if you want a simpler command, you can run the rundeno.sh
script provided:
./rundeno.sh
During the execution, you'll be prompted to select:
- A JavaScript framework (Angular, React, Vue, Svelte).
- A CSS framework (Tailwind, Bootstrap, Bulma, or None).
After installation, the development server will automatically start. You can access it by navigating to http://localhost:<PORT>
in your browser (the port depends on the framework).
Feel free to submit issues or contribute via pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.