Git Product home page Git Product logo

Comments (6)

SethDavenport avatar SethDavenport commented on August 14, 2024

@Meligy you don't actually need to create a remote repo - this argument is simply to set up the git remotes for our internal style of working.

If you supply some fake arguments it will still clone the repo and let you run it locally, e.g:

rangle-starter angular2-redux-starter Meligy [email protected]:fakeorg/fake.git

should work.

You can then clean up the remotes manually if you want since this is the only thing those arguments are used for anyway:

git remote remove origin
git remote remove upstream

I'll consider adding this as a formal option though, thanks.

from rangle-starter.

SethDavenport avatar SethDavenport commented on August 14, 2024

Alternately you can clone the starter repos directly, without using the rangle-starter command:

git clone [email protected]:rangle/angular-redux-starter
git clone [email protected]:rangle/angular2-redux-starter
git clone [email protected]:rangle/react-redux-starter
git clone [email protected]:rangle/typescript-react-redux-starter

from rangle-starter.

Meligy avatar Meligy commented on August 14, 2024

Thanks a lot :)

I thought from the webinars that I could clone these but when I went to them it seemed all info was about the CLI.

I'll have a play with that.


Now, regarding providing the fake git, it didn't work for me.

Here's the output:

~/Code/misc/rang  ᐅ rangle-starter angular2-redux-starter Meligy [email protected]:Meligy/rang.git        
Cloning into 'rang'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
/usr/local/bin/rangle-starter: line 26: cd: rang: No such file or directory
Initialized empty Git repository in /Users/Meligy/Code/misc/rang/.git/
mv: rename package.json to package.json.bak: No such file or directory
cat: package.json.bak: No such file or directory
rm: package.json.bak: No such file or directory
mv: rename app.json to app.json.bak: No such file or directory
cat: app.json.bak: No such file or directory
rm: app.json.bak: No such file or directory
[master (root-commit) 29dc2c4] Initial commit from source:
 Committer: Meligy <[email protected]>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email [email protected]

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 2 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 app.json
 create mode 100644 package.json
~/Code/misc/rang (master ✔) ᐅ ls
app.json     package.json

If relevant, I'm on latest Mac OS El Capitan, in a latest Oh My ZSH version terminal, with the following tooling versions:

Node: 5.5.0
NPM: 3.5.3
Git: 2.5.4

Thanks again.

from rangle-starter.

kosz avatar kosz commented on August 14, 2024

would it make sense to not do any git init by default if no git url is provided ?

personally I don't use rangle-starter because of the git things it does by default, I just clone the starter I want manually and rm -rf .git

from rangle-starter.

SethDavenport avatar SethDavenport commented on August 14, 2024

Yeah that makes sense - then we could make those params optional

from rangle-starter.

kosz avatar kosz commented on August 14, 2024

So as this story has turned into something more like :

As a user I want the ability to use the rangle-starter without any parameters, and have a step by step process asking me questions.

I now have a question :

from rangle-starter.

Related Issues (20)

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.