We've moved discussions to Discord

renaming repo in the "right" places

Ryan Kulp
the README says: "rename `jumpstart` anywhere to the name of your app."

however, if i find/replace everything it will break... Gemfile/Gemfile.lock point to the master repo... a lot of libs etc say "jumpstart."

i tried adding an old gem, `rename` but caused other issues. would be great to have a proper way to rename app each time i clone down for a new project. just doing the application config is not enough (still have db yml, application rb, etc)
Chris Oliver
Agreed! I was just noticing this after testing a bunch for launch. Definitely will add a script to do this shortly.
Ryan Kulp
+1 thanks!
Murray Bryant
Yep this caught me as well
Ohad Dahan
I don't think a script is the way to go.
Everywhere the string "jumpstart" is used, instead it should take it from a config/initializers that will have it defined there.
Something like:

::APPLICATION_NAME = 'myapp'.freeze
::COPYRIGHT_STRING = 'bla bla 2019'.freeze
 
Dan Weaver
Any update on this?
Chris Oliver
Pretty much just change the name in the Jumpstart admin. Then change config.application.rb (optional) and database.yml.

I don't think there were any other places that were hardcoded.
Dan Weaver
 👍 
Murray Bryant
The readme still says to do this.

You need to change the documentation
Ryan Kulp
the README says: "rename `jumpstart` anywhere to the name of your app."

however, if i find/replace everything it will break... Gemfile/Gemfile.lock point to the master repo... a lot of libs etc say "jumpstart."

i tried adding an old gem, `rename` but caused other issues. would be great to have a proper way to rename app each time i clone down for a new project. just doing the application config is not enough (still have db yml, application rb, etc)
Chris Oliver
Agreed! I was just noticing this after testing a bunch for launch. Definitely will add a script to do this shortly.
Ryan Kulp
+1 thanks!
Murray Bryant
Yep this caught me as well
Ohad Dahan
I don't think a script is the way to go.
Everywhere the string "jumpstart" is used, instead it should take it from a config/initializers that will have it defined there.
Something like:

::APPLICATION_NAME = 'myapp'.freeze
::COPYRIGHT_STRING = 'bla bla 2019'.freeze
 
Dan Weaver
Any update on this?
Chris Oliver
Pretty much just change the name in the Jumpstart admin. Then change config.application.rb (optional) and database.yml.

I don't think there were any other places that were hardcoded.
Dan Weaver
 👍 
Murray Bryant
The readme still says to do this.

You need to change the documentation
Notifications
You’re not receiving notifications from this thread.
© 2023 Jumpstart Pro by GoRails, LLC