mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Add Help Message
Not everyone runs Ubuntu/Debian and is using apt-get, so add a friendly reminder to check with your distro's documentation for help.
This commit is contained in:
parent
8f3f9f8516
commit
cad1448b9f
3 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ class SetupFactory(object):
|
||||||
print("Before can play any levels you must update the database. See the Setup section here:")
|
print("Before can play any levels you must update the database. See the Setup section here:")
|
||||||
print("https://github.com/codecombat/codecombat/wiki/Developer-environment#setup")
|
print("https://github.com/codecombat/codecombat/wiki/Developer-environment#setup")
|
||||||
print("")
|
print("")
|
||||||
print("Once done visit http://localhost:3000")
|
print("Go to http://localhost:3000 to see your local CodeCombat in action!")
|
||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
self.config.directory.remove_tmp_directory()
|
self.config.directory.remove_tmp_directory()
|
||||||
|
|
||||||
|
|
|
@ -12,14 +12,14 @@ class RepositoryInstaller():
|
||||||
assert isinstance(self.config,configuration.Configuration)
|
assert isinstance(self.config,configuration.Configuration)
|
||||||
if not self.checkIfGitExecutableExists():
|
if not self.checkIfGitExecutableExists():
|
||||||
if self.config.system.operating_system == "linux":
|
if self.config.system.operating_system == "linux":
|
||||||
raise errors.CoCoError("Git is missing. Please install it(with apt, type 'sudo apt-get install git'")
|
raise errors.CoCoError("Git is missing. Please install it (try 'sudo apt-get install git')\nIf you are not using Ubuntu then please see your Linux Distribution's documentation for help installing git.")
|
||||||
elif self.config.system.operating_system == "mac":
|
elif self.config.system.operating_system == "mac":
|
||||||
raise errors.CoCoError("Git is missing. Please install the Xcode command line tools.")
|
raise errors.CoCoError("Git is missing. Please install the Xcode command line tools.")
|
||||||
raise errors.CoCoError(u"Git is missing. Please install git.")
|
raise errors.CoCoError(u"Git is missing. Please install git.")
|
||||||
#http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools
|
#http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools
|
||||||
if not self.checkIfCurlExecutableExists():
|
if not self.checkIfCurlExecutableExists():
|
||||||
if self.config.system.operating_system == "linux":
|
if self.config.system.operating_system == "linux":
|
||||||
raise errors.CoCoError("Curl is missing. Please install it(with apt, type 'sudo apt-get install curl'")
|
raise errors.CoCoError("Curl is missing. Please install it(try 'sudo apt-get install curl')\nIf you are not using Ubuntu then please see your Linux Distribution's documentation for help installing curl.")
|
||||||
elif self.config.system.operating_system == "mac":
|
elif self.config.system.operating_system == "mac":
|
||||||
raise errors.CoCoError("Curl is missing. Please install the Xcode command line tools.")
|
raise errors.CoCoError("Curl is missing. Please install the Xcode command line tools.")
|
||||||
raise errors.CoCoError(u"Git is missing. Please install git.")
|
raise errors.CoCoError(u"Git is missing. Please install git.")
|
||||||
|
|
|
@ -34,7 +34,7 @@ class Ruby(dependency.Dependency):
|
||||||
elif operating_system == u"mac":
|
elif operating_system == u"mac":
|
||||||
raise errors.CoCoError(u"Ruby should be installed with Mac OSX machines. Please install Ruby.")
|
raise errors.CoCoError(u"Ruby should be installed with Mac OSX machines. Please install Ruby.")
|
||||||
elif operating_system == u"linux":
|
elif operating_system == u"linux":
|
||||||
raise errors.CoCoError(u"Please install Ruby on your Linux distribution(try 'sudo apt-get install ruby'.")
|
raise errors.CoCoError(u"Please install Ruby (try 'sudo apt-get install ruby').\nIf you are not using Ubuntu then please see your Linux Distribution's documentation for help installing ruby."")
|
||||||
def install_ruby_on_windows(self):
|
def install_ruby_on_windows(self):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue