Giter Club home page Giter Club logo

ruby_base's Introduction

Ruby base projects

Ruby Base Clone and Rename

This repository provides a bash script, clone_and_rename.sh, which clones a specified Ruby base repository and then renames certain predefined elements.

The script performs the following operations:

  1. Clones the ruby_base repository from Github into a directory with a user-provided name.
  2. Deletes the .git directory inside the newly created directory and re-initializes Git.
  3. Renames any files or directories within the new directory that start with "base_projects" to start with the user-provided name.
  4. Replaces any occurrences of "BaseProject" in the files within the new directory with the CamelCase version of the user-provided name.
  5. Replaces any occurrences of "base_projects" in the files within the new directory with the user-provided name.

Usage

To use the script, you need to download it and make it executable. Here's a one-liner that accomplishes this, runs the script, and then deletes it:

wget https://raw.githubusercontent.com/zewelor/ruby_base/main/clone_and_rename.sh && chmod +x clone_and_rename && ./clone_and_rename new_project && rm clone_and_rename

In the command above, replace new_project with your desired name. This command will clone the repository and replace all occurrences of "base_projects" and "BaseProject" with your provided name and its CamelCase equivalent, respectively.

Help

If you need help or want to view the usage instructions, you can download the script and run:

./clone_and_rename.sh -h

ruby_base's People

Contributors

zewelor avatar

Watchers

 avatar  avatar

ruby_base's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

Branch main

None detected

Branch ruby-cli
bundler
Gemfile
docker-compose
docker-compose.ci.yml
docker-compose.yml
dockerfile
Dockerfile
ruby-version
.ruby-version
  • ruby 3.3.4

  • Check this box to trigger a request for Renovate to run again on this repository

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: .github/renovate.json5
Error type: The renovate configuration file contains some invalid settings
Message: Invalid configuration option: packageRules[3].matchManager

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.