mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Delete old dev setup scripts
This commit is contained in:
parent
f0e1fc1f77
commit
8cde8b2c20
102 changed files with 0 additions and 2869 deletions
1
scripts/devSetup/.gitignore
vendored
1
scripts/devSetup/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
codecombat/
|
|
@ -1,70 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
repositoryUrl=${1:-https://github.com/codecombat/codecombat.git}
|
||||
deps=( git python )
|
||||
NODE_VERSION=v0.10
|
||||
function checkDependencies { #usage: checkDependencies [name of dependency array] [name of error checking function]
|
||||
declare -a dependencyArray=("${!1}")
|
||||
for i in "${dependencyArray[@]}"
|
||||
do
|
||||
command -v $i >/dev/null 2>&1 || { $2 "$i" >&2; exit 1; }
|
||||
done
|
||||
}
|
||||
|
||||
function openUrl {
|
||||
case "$OSTYPE" in
|
||||
darwin*)
|
||||
open $@;;
|
||||
linux*)
|
||||
xdg-open $@;;
|
||||
*)
|
||||
echo "$@";;
|
||||
esac
|
||||
}
|
||||
|
||||
function basicDependenciesErrorHandling {
|
||||
case "$1" in
|
||||
"python")
|
||||
echo "Python isn't installed. Please install it to continue."
|
||||
read -p "Press enter to open download link..."
|
||||
openUrl http://www.python.org/download/
|
||||
exit 1
|
||||
;;
|
||||
"git")
|
||||
echo "Please install Git (if you're running mac, this is included in the XCode command line tools)."
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
function checkIsRoot {
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root (run 'sudo ./$me $installDirectory')" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function checkNodeVersion {
|
||||
#thanks https://gist.github.com/phatblat/1713458
|
||||
node --version | grep ${NODE_VERSION}
|
||||
if [[ $? != 0 ]] ; then
|
||||
echo "Node was found, but not version 0.10. Make sure 0.10 is installed before running the install script."
|
||||
echo "Also, make sure `sudo node -v` also returns v0.10.x."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
checkDependencies deps[@] basicDependenciesErrorHandling
|
||||
#check for node
|
||||
if command -v node >/dev/null 2>&1; then
|
||||
checkNodeVersion
|
||||
fi
|
||||
|
||||
#check if a git repository already exists here
|
||||
if [ -d .git ]; then
|
||||
echo "A git repository already exists here!"
|
||||
else
|
||||
#install git repository
|
||||
git clone $repositoryUrl coco
|
||||
#python ./coco/scripts/devSetup/setup.py
|
||||
echo "Now copy and paste 'sudo python ./coco/scripts/devSetup/setup.py' into the terminal!"
|
||||
fi
|
|
@ -1,16 +0,0 @@
|
|||
__author__ = u'schmatz'
|
||||
from systemConfiguration import SystemConfiguration
|
||||
import os
|
||||
import directoryController
|
||||
import errors
|
||||
class Configuration(object):
|
||||
def __init__(self):
|
||||
self.system = SystemConfiguration()
|
||||
assert isinstance(self.system,SystemConfiguration)
|
||||
self.directory = directoryController.DirectoryController(self)
|
||||
self.directory.create_base_directories()
|
||||
#self.repository_url = u"https://github.com/nwinter/codecombat.git"
|
||||
self.repository_url = "https://github.com/schmatz/cocopractice.git"
|
||||
@property
|
||||
def mem_width(self):
|
||||
return self.system.virtual_memory_address_width
|
|
@ -1,12 +0,0 @@
|
|||
__author__ = u'schmatz'
|
||||
|
||||
from configuration import Configuration
|
||||
|
||||
class Dependency(object):
|
||||
def __init__(self,configuration):
|
||||
assert isinstance(configuration,Configuration)
|
||||
self.config = configuration
|
||||
def download_dependencies(self):
|
||||
raise NotImplementedError
|
||||
def install_dependencies(self):
|
||||
raise NotImplementedError
|
|
@ -1,52 +0,0 @@
|
|||
__author__ = u'schmatz'
|
||||
import configuration
|
||||
import os
|
||||
import sys
|
||||
import errors
|
||||
import shutil
|
||||
class DirectoryController(object):
|
||||
def __init__(self,config):
|
||||
assert isinstance(config,configuration.Configuration)
|
||||
self.config = config
|
||||
self.root_dir = self.config.system.get_current_working_directory()
|
||||
|
||||
@property
|
||||
def root_install_directory(self):
|
||||
return self.root_dir + os.sep + "coco" + os.sep + "bin"
|
||||
@property
|
||||
def tmp_directory(self):
|
||||
return self.root_install_directory + os.sep + u"tmp"
|
||||
@property
|
||||
def bin_directory(self):
|
||||
return self.root_install_directory
|
||||
|
||||
def mkdir(self, path):
|
||||
if os.path.exists(path):
|
||||
print(u"Skipping creation of " + path + " because it exists.")
|
||||
else:
|
||||
os.mkdir(path)
|
||||
|
||||
def create_directory_in_tmp(self,subdirectory):
|
||||
path = self.generate_path_for_directory_in_tmp(subdirectory)
|
||||
self.mkdir(path)
|
||||
|
||||
def generate_path_for_directory_in_tmp(self,subdirectory):
|
||||
return self.tmp_directory + os.sep + subdirectory
|
||||
def create_directory_in_bin(self,subdirectory):
|
||||
full_path = self.bin_directory + os.sep + subdirectory
|
||||
self.mkdir(full_path)
|
||||
|
||||
def create_base_directories(self):
|
||||
shutil.rmtree(self.root_dir + os.sep + "coco" + os.sep + "node_modules",ignore_errors=True) #just in case
|
||||
try:
|
||||
if os.path.exists(self.tmp_directory):
|
||||
self.remove_tmp_directory()
|
||||
os.mkdir(self.tmp_directory)
|
||||
except:
|
||||
raise errors.CoCoError(u"There was an error creating the directory structure, do you have correct permissions? Please remove all and start over.")
|
||||
|
||||
def remove_directories(self):
|
||||
shutil.rmtree(self.bin_directory + os.sep + "node",ignore_errors=True)
|
||||
shutil.rmtree(self.bin_directory + os.sep + "mongo",ignore_errors=True)
|
||||
def remove_tmp_directory(self):
|
||||
shutil.rmtree(self.tmp_directory)
|
|
@ -1,40 +0,0 @@
|
|||
from __future__ import print_function
|
||||
__author__ = 'schmatz'
|
||||
from configuration import Configuration
|
||||
import sys
|
||||
if sys.version_info.major < 3:
|
||||
import urllib
|
||||
else:
|
||||
import urllib.request as urllib
|
||||
from dependency import Dependency
|
||||
class Downloader:
|
||||
def __init__(self,dependency):
|
||||
assert isinstance(dependency, Dependency)
|
||||
self.dependency = dependency
|
||||
@property
|
||||
def download_directory(self):
|
||||
raise NotImplementedError
|
||||
def download(self):
|
||||
raise NotImplementedError
|
||||
def download_file(self,url,filePath):
|
||||
urllib.urlretrieve(url,filePath,self.__progress_bar_reporthook)
|
||||
def decompress(self):
|
||||
raise NotImplementedError
|
||||
def check_download(self):
|
||||
raise NotImplementedError
|
||||
|
||||
def __progress_bar_reporthook(self,blocknum,blocksize,totalsize):
|
||||
#http://stackoverflow.com/a/13895723/1928667
|
||||
#http://stackoverflow.com/a/3173331/1928667
|
||||
bars_to_display = 70
|
||||
amount_of_data_downloaded_so_far = blocknum * blocksize
|
||||
if totalsize > 0:
|
||||
progress_fraction = float(amount_of_data_downloaded_so_far) / float(totalsize)
|
||||
progress_percentage = progress_fraction * 1e2
|
||||
stringToDisplay = '\r[{0}] {1:.1f}%'.format('#'*int(bars_to_display*progress_fraction),progress_percentage)
|
||||
print(stringToDisplay,end=' ')
|
||||
if amount_of_data_downloaded_so_far >= totalsize:
|
||||
print("\n",end=' ')
|
||||
else:
|
||||
stringToDisplay = '\r File size unknown. Read {0} bytes.'.format(amount_of_data_downloaded_so_far)
|
||||
print(stringToDisplay,end=' ')
|
|
@ -1,19 +0,0 @@
|
|||
__author__ = u'schmatz'
|
||||
#TODO: Clean these up
|
||||
class CoCoError(Exception):
|
||||
def __init__(self,details):
|
||||
self.details = details
|
||||
def __str__(self):
|
||||
return repr(self.details + u"\n Please contact CodeCombat support, and include this error in your message.")
|
||||
|
||||
class NotSupportedError(CoCoError):
|
||||
def __init__(self,details):
|
||||
self.details = details
|
||||
def __str__(self):
|
||||
return repr(self.details + u"\n Please contact CodeCombat support, and include this error in your message.")
|
||||
|
||||
class DownloadCorruptionError(CoCoError):
|
||||
def __init__(self,details):
|
||||
self.details = details
|
||||
def __str__(self):
|
||||
return repr(self.details + u"\n Please contact CodeCombat support, and include this error in your message.")
|
|
@ -1,171 +0,0 @@
|
|||
__author__ = u'schmatz'
|
||||
|
||||
import errors
|
||||
import configuration
|
||||
import mongo
|
||||
import node
|
||||
import repositoryInstaller
|
||||
import ruby
|
||||
import shutil
|
||||
import os
|
||||
import glob
|
||||
import subprocess
|
||||
def print_computer_information(os_name,address_width):
|
||||
print(os_name + " detected, architecture: " + str(address_width) + " bit")
|
||||
def constructSetup():
|
||||
config = configuration.Configuration()
|
||||
address_width = config.system.get_virtual_memory_address_width()
|
||||
if config.system.operating_system == u"mac":
|
||||
print_computer_information("Mac",address_width)
|
||||
return MacSetup(config)
|
||||
elif config.system.operating_system == u"win":
|
||||
print_computer_information("Windows",address_width)
|
||||
raise NotImplementedError("Windows is not supported at this time.")
|
||||
elif config.system.operating_system == u"linux":
|
||||
print_computer_information("Linux",address_width)
|
||||
return LinuxSetup(config)
|
||||
|
||||
class SetupFactory(object):
|
||||
def __init__(self,config):
|
||||
self.config = config
|
||||
self.mongo = mongo.MongoDB(self.config)
|
||||
self.node = node.Node(self.config)
|
||||
self.repoCloner = repositoryInstaller.RepositoryInstaller(self.config)
|
||||
self.ruby = ruby.Ruby(self.config)
|
||||
def setup(self):
|
||||
mongo_version_string = ""
|
||||
try:
|
||||
mongo_version_string = subprocess.check_output("mongod --version",shell=True)
|
||||
mongo_version_string = mongo_version_string.decode(encoding='UTF-8')
|
||||
except Exception as e:
|
||||
print("Mongod not found: %s"%e)
|
||||
if "v2.6." not in mongo_version_string:
|
||||
if mongo_version_string:
|
||||
print("Had MongoDB version: %s"%mongo_version_string)
|
||||
print("MongoDB not found, so installing a local copy...")
|
||||
self.mongo.download_dependencies()
|
||||
self.mongo.install_dependencies()
|
||||
self.node.download_dependencies()
|
||||
self.node.install_dependencies()
|
||||
#self.repoCloner.cloneRepository()
|
||||
self.repoCloner.install_node_packages()
|
||||
self.ruby.install_gems()
|
||||
|
||||
print ("Doing initial bower install...")
|
||||
bower_path = self.config.directory.root_dir + os.sep + "coco" + os.sep + "node_modules" + os.sep + ".bin" + os.sep + "bower"
|
||||
subprocess.call(bower_path + " --allow-root install",shell=True,cwd=self.config.directory.root_dir + os.sep + "coco")
|
||||
print("Removing temporary directories")
|
||||
self.config.directory.remove_tmp_directory()
|
||||
print("Changing permissions of files...")
|
||||
#TODO: Make this more robust and portable(doesn't pose security risk though)
|
||||
subprocess.call("chmod -R 755 " + self.config.directory.root_dir + os.sep + "coco" + os.sep + "bin",shell=True)
|
||||
chown_command = "chown -R " + os.getenv("SUDO_USER") + " bower_components"
|
||||
chown_directory = self.config.directory.root_dir + os.sep + "coco"
|
||||
subprocess.call(chown_command,shell=True,cwd=chown_directory)
|
||||
|
||||
print("")
|
||||
print("Done! If you want to start the server, head into coco/bin and run ")
|
||||
print("1. ./coco-mongodb")
|
||||
print("2. ./coco-brunch ")
|
||||
print("3. ./coco-dev-server")
|
||||
print("NOTE: brunch may need to be run as sudo if it doesn't work (ulimit needs to be set higher than default)")
|
||||
print("")
|
||||
print("Before can play any levels you must update the database. See the Setup section here:")
|
||||
print("https://github.com/codecombat/codecombat/wiki/Dev-Setup:-Linux#installing-the-database")
|
||||
print("")
|
||||
print("Go to http://localhost:3000 to see your local CodeCombat in action!")
|
||||
def cleanup(self):
|
||||
self.config.directory.remove_tmp_directory()
|
||||
|
||||
class MacSetup(SetupFactory):
|
||||
def setup(self):
|
||||
super(self.__class__, self).setup()
|
||||
|
||||
class WinSetup(SetupFactory):
|
||||
def setup(self):
|
||||
super(self.__class__, self).setup()
|
||||
|
||||
class LinuxSetup(SetupFactory):
|
||||
def setup(self):
|
||||
self.distroSetup()
|
||||
super(self.__class__, self).setup()
|
||||
|
||||
def detectDistro(self):
|
||||
distro_checks = {
|
||||
"arch": "/etc/arch-release",
|
||||
"ubuntu": "/etc/lsb-release"
|
||||
}
|
||||
for distro, path in distro_checks.items():
|
||||
if os.path.exists(path):
|
||||
return(distro)
|
||||
|
||||
def distroSetup(self):
|
||||
distro = self.detectDistro()
|
||||
if distro == "ubuntu":
|
||||
print("Ubuntu installation detected. Would you like to install \n"
|
||||
"NodeJS and MongoDB via apt-get? [y/N]")
|
||||
if raw_input().lower() in ["y", "yes"]:
|
||||
print("Adding repositories for MongoDB and NodeJS...")
|
||||
try:
|
||||
subprocess.check_call(["apt-key", "adv",
|
||||
"--keyserver",
|
||||
"hkp://keyserver.ubuntu.com:80",
|
||||
"--recv", "7F0CEB10"])
|
||||
subprocess.check_call(["add-apt-repository",
|
||||
"deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"])
|
||||
subprocess.check_call("curl -sL "
|
||||
"https://deb.nodesource.com/setup"
|
||||
" | bash", shell=True)
|
||||
subprocess.check_call(["apt-get", "update"])
|
||||
except subprocess.CalledProcessError as err:
|
||||
print("Adding repositories failed. Retry, Install without"
|
||||
"adding \nrepositories, Skip apt-get installation, "
|
||||
"or Abort? [r/i/s/A]")
|
||||
answer = raw_input().lower()
|
||||
if answer in ["r", "retry"]:
|
||||
return(self.distroSetup())
|
||||
elif answer in ["i", "install"]:
|
||||
pass
|
||||
elif answer in ["s", "skip"]:
|
||||
return()
|
||||
else:
|
||||
exit(1)
|
||||
else:
|
||||
try:
|
||||
print("Repositories added successfully. Installing NodeJS and MongoDB.")
|
||||
subprocess.check_call(["apt-get", "install",
|
||||
"nodejs", "mongodb-org",
|
||||
"build-essential", "-y"])
|
||||
except subprocess.CalledProcessError as err:
|
||||
print("Installation via apt-get failed. \nContinue "
|
||||
"with manual installation, or Abort? [c/A]")
|
||||
if raw_input().lower() in ["c", "continue"]:
|
||||
return()
|
||||
else:
|
||||
exit(1)
|
||||
else:
|
||||
print("NodeJS and MongoDB installed successfully. "
|
||||
"Starting MongoDB.")
|
||||
#try:
|
||||
#subprocess.check_call(["service", "mongod", "start"])
|
||||
#except subprocess.CalledProcessError as err:
|
||||
#print("Mongo failed to start. Aborting.")
|
||||
#exit(1)
|
||||
if distro == "arch":
|
||||
print("Arch Linux detected. Would you like to install \n"
|
||||
"NodeJS and MongoDB via pacman? [y/N]")
|
||||
if raw_input().lower() in ["y", "yes"]:
|
||||
try:
|
||||
subprocess.check_call(["pacman", "-S",
|
||||
"nodejs", "mongodb",
|
||||
"--noconfirm"])
|
||||
except subprocess.CalledProcessError as err:
|
||||
print("Installation failed. Retry, Continue, or "
|
||||
"Abort? [r/c/A]")
|
||||
answer = raw_input().lower()
|
||||
if answer in ["r", "retry"]:
|
||||
return(self.distroSetup())
|
||||
elif answer in ["c", "continue"]:
|
||||
return()
|
||||
else:
|
||||
exit(1)
|
|
@ -1,107 +0,0 @@
|
|||
from __future__ import print_function
|
||||
__author__ = u'schmatz'
|
||||
from downloader import Downloader
|
||||
import tarfile
|
||||
from errors import DownloadCorruptionError
|
||||
import warnings
|
||||
import os
|
||||
from configuration import Configuration
|
||||
from dependency import Dependency
|
||||
import sys
|
||||
import shutil
|
||||
|
||||
class MongoDB(Dependency):
|
||||
def __init__(self,configuration):
|
||||
super(self.__class__, self).__init__(configuration)
|
||||
operating_system = configuration.system.operating_system
|
||||
self.config.directory.create_directory_in_tmp(u"mongo")
|
||||
|
||||
if operating_system == u"mac":
|
||||
self.downloader = MacMongoDBDownloader(self)
|
||||
elif operating_system == u"win":
|
||||
self.downloader = WindowsMongoDBDownloader(self)
|
||||
elif operating_system == u"linux":
|
||||
self.downloader = LinuxMongoDBDownloader(self)
|
||||
@property
|
||||
def tmp_directory(self):
|
||||
return self.config.directory.tmp_directory
|
||||
@property
|
||||
def bin_directory(self):
|
||||
return self.config.directory.bin_directory
|
||||
|
||||
def bashrc_string(self):
|
||||
return "COCO_MONGOD_PATH=" + self.config.directory.bin_directory + os.sep + u"mongo" + os.sep +"bin" + os.sep + "mongod"
|
||||
|
||||
|
||||
def download_dependencies(self):
|
||||
install_directory = self.config.directory.bin_directory + os.sep + u"mongo"
|
||||
if os.path.exists(install_directory):
|
||||
print(u"Skipping MongoDB download because " + install_directory + " exists.")
|
||||
else:
|
||||
self.downloader.download()
|
||||
self.downloader.decompress()
|
||||
def install_dependencies(self):
|
||||
install_directory = self.config.directory.bin_directory + os.sep + u"mongo"
|
||||
if os.path.exists(install_directory):
|
||||
print(u"Skipping creation of " + install_directory + " because it exists.")
|
||||
else:
|
||||
shutil.copytree(self.findUnzippedMongoBinPath(),install_directory)
|
||||
|
||||
def findUnzippedMongoBinPath(self):
|
||||
return self.downloader.download_directory + os.sep + \
|
||||
(next(os.walk(self.downloader.download_directory))[1])[0] + os.sep + u"bin"
|
||||
|
||||
|
||||
|
||||
|
||||
class MongoDBDownloader(Downloader):
|
||||
@property
|
||||
def download_url(self):
|
||||
raise NotImplementedError
|
||||
@property
|
||||
def download_directory(self):
|
||||
return self.dependency.tmp_directory + os.sep + u"mongo"
|
||||
@property
|
||||
def downloaded_file_path(self):
|
||||
return self.download_directory + os.sep + u"mongodb.tgz"
|
||||
def download(self):
|
||||
print(u"Downloading MongoDB from URL " + self.download_url)
|
||||
self.download_file(self.download_url,self.downloaded_file_path)
|
||||
self.check_download()
|
||||
def decompress(self):
|
||||
print(u"Decompressing MongoDB...")
|
||||
tfile = tarfile.open(self.downloaded_file_path)
|
||||
#TODO: make directory handler class
|
||||
tfile.extractall(self.download_directory)
|
||||
print(u"Decompressed MongoDB into " + self.download_directory)
|
||||
|
||||
def check_download(self):
|
||||
isFileValid = tarfile.is_tarfile(self.downloaded_file_path)
|
||||
if not isFileValid:
|
||||
raise DownloadCorruptionError(u"MongoDB download was corrupted.")
|
||||
|
||||
|
||||
|
||||
class LinuxMongoDBDownloader(MongoDBDownloader):
|
||||
@property
|
||||
def download_url(self):
|
||||
if self.dependency.config.mem_width == 64:
|
||||
return u"http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.2.tgz"
|
||||
else:
|
||||
warnings.warn(u"MongoDB *really* doesn't run well on 32 bit systems. You have been warned.")
|
||||
return u"http://fastdl.mongodb.org/linux/mongodb-linux-i686-3.0.2.tgz"
|
||||
|
||||
class WindowsMongoDBDownloader(MongoDBDownloader):
|
||||
@property
|
||||
def download_url(self):
|
||||
#TODO: Implement Windows Vista detection
|
||||
warnings.warn(u"If you have a version of Windows older than 7, MongoDB may not function properly!")
|
||||
if self.dependency.config.mem_width == 64:
|
||||
return u"http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-3.0.2.zip"
|
||||
else:
|
||||
return u"http://fastdl.mongodb.org/win32/mongodb-win32-i386-3.0.2.zip"
|
||||
|
||||
class MacMongoDBDownloader(MongoDBDownloader):
|
||||
@property
|
||||
def download_url(self):
|
||||
return u"http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-3.0.2.tgz"
|
|
@ -1,160 +0,0 @@
|
|||
from __future__ import print_function
|
||||
__author__ = u'schmatz'
|
||||
from downloader import Downloader
|
||||
import tarfile
|
||||
import errors
|
||||
from errors import DownloadCorruptionError
|
||||
import warnings
|
||||
import os
|
||||
from configuration import Configuration
|
||||
from dependency import Dependency
|
||||
import shutil
|
||||
from which import which
|
||||
import subprocess
|
||||
from stat import S_IRWXU,S_IRWXG,S_IRWXO
|
||||
import sys
|
||||
|
||||
if sys.version_info.major >= 3:
|
||||
raw_input = input
|
||||
|
||||
class Node(Dependency):
|
||||
def __init__(self,configuration):
|
||||
super(self.__class__, self).__init__(configuration)
|
||||
operating_system = configuration.system.operating_system
|
||||
self.config.directory.create_directory_in_tmp(u"node")
|
||||
if operating_system == u"mac":
|
||||
self.downloader = MacNodeDownloader(self)
|
||||
elif operating_system == u"win":
|
||||
self.downloader = WindowsNodeDownloader(self)
|
||||
self.config.directory.create_directory_in_bin(u"node") #TODO: Fix windows node installation
|
||||
elif operating_system == u"linux":
|
||||
self.downloader = LinuxNodeDownloader(self)
|
||||
@property
|
||||
def tmp_directory(self):
|
||||
return self.config.directory.tmp_directory
|
||||
@property
|
||||
def bin_directory(self):
|
||||
return self.config.directory.bin_directory
|
||||
|
||||
def download_dependencies(self):
|
||||
install_directory = self.config.directory.bin_directory + os.sep + u"node"
|
||||
if os.path.exists(install_directory):
|
||||
print(u"Skipping Node download because " + install_directory + " exists.")
|
||||
else:
|
||||
self.downloader.download()
|
||||
self.downloader.decompress()
|
||||
def bashrc_string(self):
|
||||
return "COCO_NODE_PATH=" + self.config.directory.bin_directory + os.sep + u"node" + os.sep + "bin" + os.sep +"node"
|
||||
def install_dependencies(self):
|
||||
install_directory = self.config.directory.bin_directory + os.sep + u"node"
|
||||
#check for node here
|
||||
if self.config.system.operating_system in ["mac","linux"] and not which("node"):
|
||||
unzipped_node_path = self.findUnzippedNodePath()
|
||||
print("Copying node into /usr/local/bin/...")
|
||||
shutil.copy(unzipped_node_path + os.sep + "bin" + os.sep + "node","/usr/local/bin/")
|
||||
os.chmod("/usr/local/bin/node",S_IRWXG|S_IRWXO|S_IRWXU)
|
||||
if os.path.exists(install_directory):
|
||||
print(u"Skipping creation of " + install_directory + " because it exists.")
|
||||
else:
|
||||
unzipped_node_path = self.findUnzippedNodePath()
|
||||
shutil.copytree(self.findUnzippedNodePath(),install_directory)
|
||||
wants_to_upgrade = True
|
||||
if self.check_if_executable_installed(u"npm"):
|
||||
warning_string = u"A previous version of npm has been found. \nYou may experience problems if you have a version of npm that's too old. Would you like to upgrade?(y/n) "
|
||||
from distutils.util import strtobool
|
||||
print(warning_string)
|
||||
#for bash script, you have to somehow redirect stdin to raw_input()
|
||||
user_input = raw_input()
|
||||
while True:
|
||||
try:
|
||||
wants_to_upgrade = strtobool(user_input)
|
||||
except:
|
||||
print(u"Please enter y or n. ")
|
||||
user_input = raw_input()
|
||||
continue
|
||||
break
|
||||
if wants_to_upgrade:
|
||||
if sys.version_info.major < 3:
|
||||
import urllib2, urllib
|
||||
else:
|
||||
import urllib.request as urllib
|
||||
print(u"Retrieving npm update script...")
|
||||
npm_install_script_path = install_directory + os.sep + u"install.sh"
|
||||
urllib.urlretrieve(u"https://npmjs.org/install.sh",filename=npm_install_script_path)
|
||||
print(u"Retrieved npm install script. Executing...")
|
||||
subprocess.call([u"sh", npm_install_script_path])
|
||||
print(u"Updated npm version installed")
|
||||
|
||||
|
||||
|
||||
def findUnzippedNodePath(self):
|
||||
return self.downloader.download_directory + os.sep + \
|
||||
(next(os.walk(self.downloader.download_directory))[1])[0]
|
||||
def check_if_executable_installed(self,name):
|
||||
executable_path = which(name)
|
||||
if executable_path:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
def check_node_version(self):
|
||||
version = subprocess.check_output(u"node -v")
|
||||
return version
|
||||
def check_npm_version(self):
|
||||
version = subprocess.check_output(u"npm -v")
|
||||
return version
|
||||
|
||||
|
||||
class NodeDownloader(Downloader):
|
||||
@property
|
||||
def download_url(self):
|
||||
raise NotImplementedError
|
||||
@property
|
||||
def download_directory(self):
|
||||
return self.dependency.tmp_directory + os.sep + u"node"
|
||||
@property
|
||||
def downloaded_file_path(self):
|
||||
return self.download_directory + os.sep + u"node.tgz"
|
||||
def download(self):
|
||||
print(u"Downloading Node from URL " + self.download_url)
|
||||
self.download_file(self.download_url,self.downloaded_file_path)
|
||||
self.check_download()
|
||||
def decompress(self):
|
||||
print(u"Decompressing Node...")
|
||||
tfile = tarfile.open(self.downloaded_file_path)
|
||||
#TODO: make directory handler class
|
||||
tfile.extractall(self.download_directory)
|
||||
print(u"Decompressed Node into " + self.download_directory)
|
||||
|
||||
def check_download(self):
|
||||
isFileValid = tarfile.is_tarfile(self.downloaded_file_path)
|
||||
if not isFileValid:
|
||||
raise DownloadCorruptionError(u"Node download was corrupted.")
|
||||
|
||||
|
||||
|
||||
class LinuxNodeDownloader(NodeDownloader):
|
||||
@property
|
||||
def download_url(self):
|
||||
if self.dependency.config.mem_width == 64:
|
||||
return u"http://nodejs.org/dist/v0.10.35/node-v0.10.35-linux-x64.tar.gz"
|
||||
else:
|
||||
return u"http://nodejs.org/dist/v0.10.35/node-v0.10.35-linux-x86.tar.gz"
|
||||
|
||||
class WindowsNodeDownloader(NodeDownloader):
|
||||
@property
|
||||
def download_url(self):
|
||||
raise NotImplementedError(u"Needs MSI to be executed to install npm")
|
||||
#"http://nodejs.org/dist/v0.10.24/x64/node-v0.10.24-x64.msi"
|
||||
if self.dependency.config.mem_width == 64:
|
||||
return u"http://nodejs.org/dist/v0.10.35/x64/node.exe"
|
||||
else:
|
||||
return u"http://nodejs.org/dist/v0.10.35/node.exe"
|
||||
|
||||
class MacNodeDownloader(NodeDownloader):
|
||||
@property
|
||||
def download_url(self):
|
||||
if self.dependency.config.mem_width == 64:
|
||||
return u"http://nodejs.org/dist/v0.10.35/node-v0.10.35-darwin-x64.tar.gz"
|
||||
else:
|
||||
return u"http://nodejs.org/dist/v0.10.35/node-v0.10.35-darwin-x86.tar.gz"
|
|
@ -1,79 +0,0 @@
|
|||
from __future__ import print_function
|
||||
__author__ = u'schmatz'
|
||||
import configuration
|
||||
import errors
|
||||
import subprocess
|
||||
import os
|
||||
import sys
|
||||
from which import which
|
||||
#git clone https://github.com/nwinter/codecombat.git coco
|
||||
class RepositoryInstaller():
|
||||
def __init__(self,config):
|
||||
self.config = config
|
||||
assert isinstance(self.config,configuration.Configuration)
|
||||
if not self.checkIfGitExecutableExists():
|
||||
if self.config.system.operating_system == "linux":
|
||||
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":
|
||||
raise errors.CoCoError("Git is missing. Please install the Xcode command line tools.")
|
||||
raise errors.CoCoError(u"Git is missing. Please install git.")
|
||||
#http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools
|
||||
if not self.checkIfCurlExecutableExists():
|
||||
if self.config.system.operating_system == "linux":
|
||||
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":
|
||||
raise errors.CoCoError("Curl is missing. Please install the Xcode command line tools.")
|
||||
raise errors.CoCoError(u"Git is missing. Please install git.")
|
||||
def checkIfGitExecutableExists(self):
|
||||
gitPath = which(u"git")
|
||||
if gitPath:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
#TODO: Refactor this into a more appropriate file
|
||||
def checkIfCurlExecutableExists(self):
|
||||
curlPath = which("curl")
|
||||
if curlPath:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
def cloneRepository(self):
|
||||
print(u"Cloning repository...")
|
||||
#TODO: CHANGE THIS BEFORE LAUNCH
|
||||
return_code = True
|
||||
git_folder = self.config.directory.root_install_directory + os.sep + "coco"
|
||||
print("Installing into " + git_folder)
|
||||
return_code = subprocess.call("git clone " + self.config.repository_url +" coco",cwd=self.config.directory.root_install_directory,shell=True)
|
||||
#TODO: remove this on windos
|
||||
subprocess.call("chown -R " +git_folder + " 0777",shell=True)
|
||||
if return_code and self.config.system.operating_system != u"windows":
|
||||
#raise errors.CoCoError("Failed to clone git repository")
|
||||
import shutil
|
||||
#import sys
|
||||
#sys.stdout.flush()
|
||||
raw_input(u"Copy it now")
|
||||
#shutil.copytree(u"/Users/schmatz/coco",self.config.directory.root_install_directory + os.sep + u"coco")
|
||||
print(u"Copied tree just for you")
|
||||
#print("FAILED TO CLONE GIT REPOSITORY")
|
||||
#input("Clone the repository and click any button to continue")
|
||||
elif self.config.system.operating_system == u"windows":
|
||||
raise errors.CoCoError(u"Windows doesn't support automated installations of npm at this point.")
|
||||
else:
|
||||
print(u"Cloned git repository")
|
||||
def install_node_packages(self):
|
||||
print(u"Installing node packages...")
|
||||
#TODO: "Replace npm with more robust package
|
||||
#npm_location = self.config.directory.bin_directory + os.sep + "node" + os.sep + "bin" + os.sep + "npm"
|
||||
npm_location = u"npm"
|
||||
if sys.version_info[0] == 2:
|
||||
py_cmd = "python"
|
||||
else:
|
||||
py_cmd = subprocess.check_output(['which', 'python2'])
|
||||
return_code = subprocess.call([npm_location, u"install",
|
||||
"--python=" + py_cmd],
|
||||
cwd=self.config.directory.root_dir +
|
||||
os.sep + u"coco")
|
||||
if return_code:
|
||||
raise errors.CoCoError(u"Failed to install node packages")
|
||||
else:
|
||||
print(u"Installed node packages!")
|
|
@ -1,42 +0,0 @@
|
|||
from __future__ import print_function
|
||||
__author__ = u'root'
|
||||
|
||||
import dependency
|
||||
import configuration
|
||||
import shutil
|
||||
import errors
|
||||
import subprocess
|
||||
from which import which
|
||||
class Ruby(dependency.Dependency):
|
||||
def __init__(self,config):
|
||||
self.config = config
|
||||
assert isinstance(config,configuration.Configuration)
|
||||
is_ruby_installed = self.check_if_ruby_exists()
|
||||
is_gem_installed = self.check_if_gem_exists()
|
||||
if is_ruby_installed and not is_gem_installed:
|
||||
#this means their ruby is so old that RubyGems isn't packaged with it
|
||||
raise errors.CoCoError(u"You have an extremely old version of Ruby. Please upgrade it to get RubyGems.")
|
||||
elif not is_ruby_installed:
|
||||
self.install_ruby()
|
||||
elif is_ruby_installed and is_gem_installed:
|
||||
print(u"Ruby found.")
|
||||
def check_if_ruby_exists(self):
|
||||
ruby_path = which(u"ruby")
|
||||
return bool(ruby_path)
|
||||
def check_if_gem_exists(self):
|
||||
gem_path = which(u"gem")
|
||||
return bool(gem_path)
|
||||
def install_ruby(self):
|
||||
operating_system = self.config.system.operating_system
|
||||
#Ruby is on every recent Mac, most Linux distros
|
||||
if operating_system == u"windows":
|
||||
self.install_ruby_on_windows()
|
||||
elif operating_system == u"mac":
|
||||
raise errors.CoCoError(u"Ruby should be installed with Mac OSX machines. Please install Ruby.")
|
||||
elif operating_system == u"linux":
|
||||
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):
|
||||
raise NotImplementedError
|
||||
|
||||
def install_gems(self):
|
||||
gem_install_status = subprocess.call([u"gem",u"install",u"--no-user-install",u"sass"])
|
|
@ -1,46 +0,0 @@
|
|||
#setup.py
|
||||
#A setup script for the CodeCombat development environment
|
||||
|
||||
# The MIT License (MIT)
|
||||
#
|
||||
# Copyright (c) 2013 CodeCombat Inc.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
# in the Software without restriction, including without limitation the rights
|
||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
# copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
# THE SOFTWARE.
|
||||
|
||||
import factories
|
||||
import os
|
||||
import errors
|
||||
import ctypes
|
||||
def check_if_root():
|
||||
is_admin = False
|
||||
try:
|
||||
uid = os.getuid()
|
||||
if uid == 0:
|
||||
is_admin = True
|
||||
except:
|
||||
is_admin = True
|
||||
#is_admin = ctypes.windll.shell32.IsUserAnAdmin()
|
||||
if not is_admin:
|
||||
raise errors.CoCoError(u"You need to be root. Run as sudo.")
|
||||
|
||||
if __name__ == u"__main__":
|
||||
print("CodeCombat Development Environment Setup Script")
|
||||
check_if_root()
|
||||
setup = factories.constructSetup()
|
||||
setup.setup()
|
|
@ -1,40 +0,0 @@
|
|||
from __future__ import division
|
||||
__author__ = u'schmatz'
|
||||
|
||||
import sys
|
||||
import os
|
||||
from errors import NotSupportedError
|
||||
class SystemConfiguration(object):
|
||||
|
||||
def __init__(self):
|
||||
self.operating_system = self.get_operating_system()
|
||||
self.virtual_memory_address_width = self.get_virtual_memory_address_width()
|
||||
|
||||
def get_operating_system(self):
|
||||
platform = sys.platform
|
||||
if platform.startswith(u'linux'):
|
||||
return u"linux"
|
||||
elif platform.startswith(u'darwin'):
|
||||
return u"mac"
|
||||
elif platform.startswith(u'win'):
|
||||
return u"windows"
|
||||
else:
|
||||
raise NotSupportedError(u"Your platform," + sys.platform + u",isn't supported.")
|
||||
|
||||
def get_current_working_directory(self):
|
||||
if sys.version_info.major < 3:
|
||||
return os.getcwdu()
|
||||
else:
|
||||
return os.getcwd()
|
||||
|
||||
def get_virtual_memory_address_width(self):
|
||||
is64Bit = sys.maxsize/3 > 2**32
|
||||
if is64Bit:
|
||||
return 64
|
||||
else:
|
||||
if self.operating_system == u"mac":
|
||||
if os.uname()[4] == u"x86_64":
|
||||
return 64
|
||||
raise NotSupportedError(u"Your processor is determined to have a maxSize of" + str(sys.maxsize) +
|
||||
u",\n which doesn't correspond with a 64-bit architecture.")
|
||||
return 32
|
|
@ -1,66 +0,0 @@
|
|||
__author__ = 'root'
|
||||
#copied from python3
|
||||
import os
|
||||
import sys
|
||||
|
||||
def which(cmd, mode=os.F_OK | os.X_OK, path=None):
|
||||
"""Given a command, mode, and a PATH string, return the path which
|
||||
conforms to the given mode on the PATH, or None if there is no such
|
||||
file.
|
||||
|
||||
`mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
|
||||
of os.environ.get("PATH"), or can be overridden with a custom search
|
||||
path.
|
||||
|
||||
"""
|
||||
# Check that a given file can be accessed with the correct mode.
|
||||
# Additionally check that `file` is not a directory, as on Windows
|
||||
# directories pass the os.access check.
|
||||
def _access_check(fn, mode):
|
||||
return (os.path.exists(fn) and os.access(fn, mode)
|
||||
and not os.path.isdir(fn))
|
||||
|
||||
# If we're given a path with a directory part, look it up directly rather
|
||||
# than referring to PATH directories. This includes checking relative to the
|
||||
# current directory, e.g. ./script
|
||||
if os.path.dirname(cmd):
|
||||
if _access_check(cmd, mode):
|
||||
return cmd
|
||||
return None
|
||||
|
||||
if path is None:
|
||||
path = os.environ.get("PATH", os.defpath)
|
||||
if not path:
|
||||
return None
|
||||
path = path.split(os.pathsep)
|
||||
|
||||
if sys.platform == "win32":
|
||||
# The current directory takes precedence on Windows.
|
||||
if not os.curdir in path:
|
||||
path.insert(0, os.curdir)
|
||||
|
||||
# PATHEXT is necessary to check on Windows.
|
||||
pathext = os.environ.get("PATHEXT", "").split(os.pathsep)
|
||||
# See if the given file matches any of the expected path extensions.
|
||||
# This will allow us to short circuit when given "python.exe".
|
||||
# If it does match, only test that one, otherwise we have to try
|
||||
# others.
|
||||
if any(cmd.lower().endswith(ext.lower()) for ext in pathext):
|
||||
files = [cmd]
|
||||
else:
|
||||
files = [cmd + ext for ext in pathext]
|
||||
else:
|
||||
# On other platforms you don't have things like PATHEXT to tell you
|
||||
# what file suffixes are executable, so just pass on cmd as-is.
|
||||
files = [cmd]
|
||||
|
||||
seen = set()
|
||||
for dir in path:
|
||||
normdir = os.path.normcase(dir)
|
||||
if not normdir in seen:
|
||||
seen.add(normdir)
|
||||
for thefile in files:
|
||||
name = os.path.join(dir, thefile)
|
||||
if _access_check(name, mode):
|
||||
return name
|
||||
return None
|
|
@ -1,7 +0,0 @@
|
|||
set "mongo_db_location=MONGO_DB_PATH_HERE"
|
||||
call npm update
|
||||
call bower update
|
||||
start cmd.exe cmd /c call nodemon -w server -w server_config.js
|
||||
start cmd.exe cmd /c call brunch w^
|
||||
& mongod --setParameter textSearchEnabled=true^
|
||||
--dbpath %mongo_db_location%
|
2
scripts/windows/coco-dev-setup/.gitignore
vendored
2
scripts/windows/coco-dev-setup/.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
# ignore unnecary files
|
||||
/batch/utilities
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<variables>
|
||||
<version>3.7.1</version>
|
||||
<author>GlenDC</author>
|
||||
<copyright>CodeCombat.com © 2013-2014</copyright>
|
||||
<github_url>https://github.com/codecombat/codecombat.git</github_url>
|
||||
<github_ssh>git@github.com:codecombat/codecombat.git</github_ssh>
|
||||
<database_backup>http://analytics.codecombat.com:8080/dump.tar.gz</database_backup>
|
||||
</variables>
|
|
@ -1,45 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<variables>
|
||||
<general>
|
||||
<b32>
|
||||
<nodejs>http://nodejs.org/dist/v0.10.35/node-v0.10.35-x86.msi</nodejs>
|
||||
<ruby>http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353.exe?direct</ruby>
|
||||
<python>http://s3.amazonaws.com/CodeCombatLargeFiles/python-32.msi</python>
|
||||
<vs12redist>http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe</vs12redist>
|
||||
</b32>
|
||||
<b64>
|
||||
<nodejs>http://nodejs.org/dist/v0.10.35/x64/node-v0.10.35-x64.msi</nodejs>
|
||||
<ruby>http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353-x64.exe?direct</ruby>
|
||||
<python>http://s3.amazonaws.com/CodeCombatLargeFiles/python-64.msi</python>
|
||||
<vs12redist>http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe</vs12redist>
|
||||
</b64>
|
||||
<general>
|
||||
<gitbash>https://github.com/msysgit/msysgit/releases/download/Git-1.9.5-preview20141217/Git-1.9.5-preview20141217.exe</gitbash>
|
||||
<vs10redist>http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe</vs10redist>
|
||||
</general>
|
||||
</general>
|
||||
<Win8>
|
||||
<b32>
|
||||
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-i386-2.6.4.zip</mongodb>
|
||||
</b32>
|
||||
<b64>
|
||||
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.6.4.zip</mongodb>
|
||||
</b64>
|
||||
</Win8>
|
||||
<Win7>
|
||||
<b32>
|
||||
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-i386-2.6.4.zip</mongodb>
|
||||
</b32>
|
||||
<b64>
|
||||
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.6.4.zip</mongodb>
|
||||
</b64>
|
||||
</Win7>
|
||||
<Vista>
|
||||
<b32>
|
||||
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.6.4.zip</mongodb>
|
||||
</b32>
|
||||
<b64>
|
||||
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2.6.4.zip</mongodb>
|
||||
</b64>
|
||||
</Vista>
|
||||
</variables>
|
|
@ -1,7 +0,0 @@
|
|||
______ _____ _ _ _____ _____ _ _ ___________
|
||||
| ___|_ _| \ | |_ _/ ___| | | || ___| _ \
|
||||
| |_ | | | \| | | | \ `--.| |_| || |__ | | | |
|
||||
| _| | | | . ` | | | `--. \ _ || __|| | | |
|
||||
| | _| |_| |\ |_| |_/\__/ / | | || |___| |/ /
|
||||
\_| \___/\_| \_/\___/\____/\_| |_/\____/|___/
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
_____ _____ _____ _ _ _ _______
|
||||
| __ \_ _|_ _| | | | | | | ___ \
|
||||
| | \/ | | | | | |_| | | | | |_/ /
|
||||
| | __ | | | | | _ | | | | ___ \
|
||||
| |_\ \_| |_ | | | | | | |_| | |_/ /
|
||||
\____/\___/ \_/ \_| |_/\___/\____/
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
_____ _ _____ _ _
|
||||
/ __ \ | | / __ \ | | | |
|
||||
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
|
||||
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
|
||||
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
|
||||
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
_____ ___________ _____ _ _ ___ ______ _____
|
||||
/ ___|| _ | ___|_ _| | | |/ _ \ | ___ \ ___|
|
||||
\ `--. | | | | |_ | | | | | / /_\ \| |_/ / |__
|
||||
`--. \| | | | _| | | | |/\| | _ || /| __|
|
||||
/\__/ /\ \_/ / | | | \ /\ / | | || |\ \| |___
|
||||
\____/ \___/\_| \_/ \/ \/\_| |_/\_| \_\____/
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
The MIT Lizenz (MIT)
|
||||
|
||||
Copyright (c) 2014 CodeCombat Inc. und andere Beitragende
|
||||
|
||||
Hiermit wird unentgeltlich jeder Person, die eine Kopie der Software und der zugehörigen Dokumentationen (die "Software") erhält, die Erlaubnis erteilt, sie uneingeschränkt zu benutzen, inklusive und ohne Ausnahme dem Recht, sie zu verwenden, kopieren, ändern, fusionieren, verlegen, verbreiten, unterlizenzieren und/oder zu verkaufen, und Personen, die diese Software erhalten, diese Rechte zu geben, unter den folgenden Bedingungen:
|
||||
|
||||
Der obige Urheberrechtsvermerk und dieser Erlaubnisvermerk sind in allen Kopien oder Teilkopien der Software beizulegen.
|
||||
|
||||
DIE SOFTWARE WIRD OHNE JEDE AUSDRÜCKLICHE ODER IMPLIZIERTE GARANTIE BEREITGESTELLT, EINSCHLIESSLICH DER GARANTIE ZUR BENUTZUNG FÜR DEN VORGESEHENEN ODER EINEM BESTIMMTEN ZWECK SOWIE JEGLICHER RECHTSVERLETZUNG, JEDOCH NICHT DARAUF BESCHRÄNKT. IN KEINEM FALL SIND DIE AUTOREN ODER COPYRIGHTINHABER FÜR JEGLICHEN SCHADEN ODER SONSTIGE ANSPRÜCHE HAFTBAR ZU MACHEN, OB INFOLGE DER ERFÜLLUNG EINES VERTRAGES, EINES DELIKTES ODER ANDERS IM ZUSAMMENHANG MIT DER SOFTWARE ODER SONSTIGER VERWENDUNG DER SOFTWARE ENTSTANDEN.
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 CodeCombat Inc. and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN sCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
‹¨æ¥§¨ï MIT (Œ’ˆ)
|
||||
|
||||
Copyright (c) 2014 CodeCombat Inc. ¨ ¤à㣨¥ ãç á⨪¨
|
||||
|
||||
„ ï «¨æ¥§¨ï à §à¥è ¥â «¨æ ¬, ¯®«ã稢訬 ª®¯¨î ¤ ®£® ¯à®£à ¬¬®£® ®¡¥á¯¥ç¥¨ï ¨ ᮯãâáâ¢ãî饩 ¤®ªã¬¥â 樨 (¢ ¤ «ì¥©è¥¬ ¨¬¥ã¥¬ë¬¨ <<3C>à®£à ¬¬®¥ Ž¡¥á¯¥ç¥¨¥>), ¡¥§¢®§¬¥§¤® ¨á¯®«ì§®¢ âì <20>à®£à ¬¬®¥ Ž¡¥á¯¥ç¥¨¥ ¡¥§ ®£à ¨ç¥¨©, ¢ª«îç ï ¥®£à ¨ç¥®¥ ¯à ¢® ¨á¯®«ì§®¢ ¨¥, ª®¯¨à®¢ ¨¥, ¨§¬¥¥¨¥, ¤®¡ ¢«¥¨¥, ¯ã¡«¨ª æ¨î, à á¯à®áâà ¥¨¥, áã¡«¨æ¥§¨à®¢ ¨¥ ¨/¨«¨ ¯à®¤ ¦ã ª®¯¨© <20>à®£à ¬¬®£® Ž¡¥á¯¥ç¥¨ï, â ª¦¥ ª ª ¨ «¨æ ¬, ª®â®àë¬ ¯à¥¤®áâ ¢«ï¥âáï ¤ ®¥ <20>à®£à ¬¬®¥ Ž¡¥á¯¥ç¥¨¥, ¯à¨ ᮡ«î¤¥¨¨ á«¥¤ãîé¨å ãá«®¢¨©:
|
||||
|
||||
“ª § ®¥ ¢ëè¥ ã¢¥¤®¬«¥¨¥ ®¡ ¢â®à᪮¬ ¯à ¢¥ ¨ ¤ ë¥ ãá«®¢¨ï ¤®«¦ë ¡ëâì ¢ª«îç¥ë ¢® ¢á¥ ª®¯¨¨ ¨«¨ § ç¨¬ë¥ ç á⨠¤ ®£® <20>à®£à ¬¬®£® Ž¡¥á¯¥ç¥¨ï.
|
||||
|
||||
„€<EFBFBD><EFBFBD>Ž… <20><>Žƒ<C5BD>€ŒŒ<C592>Ž… Ž<>…‘<E280A6>…—…<E28094>ˆ… <20><>…„Ž‘’€‚‹Ÿ…’‘Ÿ <Š€Š …‘’œ>, <20>…‡ Š€Šˆ•-‹ˆ<E280B9>Ž ƒ€<C692>€<EFBFBD>’ˆ‰, Ÿ‚<C5B8>Ž ‚›<E2809A>€†…<E280A0><E280A6>›• ˆ‹ˆ <20>Ž„<C5BD>€‡“Œ…‚€…Œ›•, ‚Š‹ž—€Ÿ, <20>Ž <20>… Žƒ<C5BD>€<EFBFBD>ˆ—ˆ‚€Ÿ‘œ ƒ€<C692>€<EFBFBD>’ˆŸŒˆ ’Ž‚€<E2809A><E282AC>Ž‰ <20><>ˆƒŽ„<C5BD>Ž‘’ˆ, ‘ŽŽ’‚…’‘’‚ˆŸ <20>Ž …ƒŽ ŠŽ<C5A0>Š<EFBFBD>…’<E280A6>ŽŒ“ <20>€‡<E282AC>€—…<E28094>ˆž ˆ Ž’‘“’‘’‚ˆŸ <20>€<EFBFBD>“˜…<CB9C>ˆ‰ <20><>€‚. <20>ˆ ‚ Š€ŠŽŒ ‘‹“—€… €‚’Ž<E28099>› ˆ‹ˆ <20><>€‚ŽŽ<C5BD>‹€„€’…‹ˆ <20>… <20>…‘“’ Ž’‚…’‘’‚…<E2809A><E280A6>Ž‘’ˆ <20>Ž ˆ‘Š€Œ Ž ‚Ž‡Œ…™…<E284A2>ˆˆ “™…<E284A2><E280A6>€, “<>›’ŠŽ‚ ˆ‹ˆ „<>“ƒˆ• ’<>…<EFBFBD>Ž‚€<E2809A>ˆ‰ <20>Ž „…‰‘’‚“ž™ˆŒ ŠŽ<C5A0>’<EFBFBD>€Š’€Œ, „…‹ˆŠ’€Œ ˆ‹ˆ ˆ<>ŽŒ“, ‚Ž‡<C5BD>ˆŠ˜ˆŒ ˆ‡, ˆŒ…ž™ˆŒ <20><>ˆ—ˆ<E28094>Ž‰ ˆ‹ˆ ‘‚Ÿ‡€<E280A1><E282AC>›Œ ‘ <20><>Žƒ<C5BD>€ŒŒ<C592>›Œ Ž<>…‘<E280A6>…—…<E28094>ˆ…Œ ˆ‹ˆ ˆ‘<CB86>Ž‹œ‡Ž‚€<E2809A>ˆ…Œ <20><>Žƒ<C5BD>€ŒŒ<C592>ŽƒŽ Ž<>…‘<E280A6>…—…<E28094>ˆŸ ˆ‹ˆ ˆ<>›Œˆ „…‰‘’‚ˆŸŒˆ ‘ <20><>Žƒ<C5BD>€ŒŒ<C592>›Œ Ž<>…‘<E280A6>…—…<E28094>ˆ…Œ.
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 CodeCombat Inc. and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -1,30 +0,0 @@
|
|||
_____ _ _____ _ _
|
||||
/ __ \ | | / __ \ | | | |
|
||||
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
|
||||
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
|
||||
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
|
||||
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
|
||||
|
||||
=============================================================================
|
||||
|
||||
Gratulation, du bist nun ein Teil der CodeCombat Community.
|
||||
Nun da deine Entwicklungsumgebung installiert ist, bist du
|
||||
bereit uns zu helfen und die Welt zu einem besseren
|
||||
Ort zu machen.
|
||||
|
||||
Hast du Fragen oder möchtest du dich mit uns treffen?
|
||||
Sprich mit uns auf HipChat @ https://www.hipchat.com/g3plnOKqa
|
||||
|
||||
Ein anderer Weg uns zu erreichen ist über unser Forum.
|
||||
Du kannst es finden @ http://discourse.codecombat.com/
|
||||
|
||||
Du kannst dich über neue Entwicklungen auf unserem Blog informieren.
|
||||
Dieser kann unter @ http://blog.codecombat.com/ gefunden werden.
|
||||
|
||||
Zu guter Letzt, du kannst das meiste unserer Dokumentation
|
||||
und Informationen in unserer Wiki finden @ https://github.com/codecombat/codecombat/wiki
|
||||
|
||||
Wir hoffen es gefällt dir genauso gut in unserer Community, wie es uns gefällt.
|
||||
|
||||
|
||||
- Nick, George, Scott, Michael, Jeremy and Glen
|
|
@ -1,29 +0,0 @@
|
|||
_____ _ _____ _ _
|
||||
/ __ \ | | / __ \ | | | |
|
||||
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
|
||||
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
|
||||
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
|
||||
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
|
||||
|
||||
=============================================================================
|
||||
|
||||
Felicidades, ahora eres parte dela comunidad de CodeCombat.
|
||||
Ahora que el ambiente de desarrollo ha sido instalado, estas listo para comenzar
|
||||
a contribuir y hacer este mundo un mejor lugar.
|
||||
|
||||
Tienes preguntas o te gustaria conocernos?
|
||||
Habla con nosotros en hipchat @ https://www.hipchat.com/g3plnOKqa
|
||||
|
||||
Tambien puedes hablar con nosotros en nuestro foro.
|
||||
El foro esta en @ http://discourse.codecombat.com/
|
||||
|
||||
Puedes leer sobre los ultimos cambios en nuestro blog.
|
||||
El blog esta en @ http://blog.codecombat.com/
|
||||
|
||||
Por ultimo, puedes encontrar casi toda nuestra documentacion
|
||||
e informacion en nuestra wiki @ https://github.com/codecombat/codecombat/wiki
|
||||
|
||||
Esperemos que disfrutes tanto la comunidad como nosotros
|
||||
|
||||
|
||||
- Nick, George, Scott, Michael, Jeremy and Glen
|
|
@ -1,30 +0,0 @@
|
|||
_____ _ _____ _ _
|
||||
/ __ \ | | / __ \ | | | |
|
||||
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
|
||||
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
|
||||
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
|
||||
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
|
||||
|
||||
=============================================================================
|
||||
|
||||
Gefeliciteerd, je bent nu een deel van de CodeCombat gemeenschap.
|
||||
Nu dat je ontwikkelingsomgeving volledig klaar is kun je beginnen met bijdragen
|
||||
en ons helpen de wereld een betere plek te maken.
|
||||
|
||||
Heb je enige vragen of wil je ons ontmoeten?
|
||||
Praat met ons op hipchat @ https://www.hipchat.com/g3plnOKqa
|
||||
|
||||
Je kunt ons ook bereiken via de forums.
|
||||
Deze zijn te vinden @ http://discourse.codecombat.com/
|
||||
|
||||
De laatste ontwikkelingen kun je ook altijd volgen op onze blog.
|
||||
Deze is te vinden @ http://blog.codecombat.com/
|
||||
|
||||
Tenslotte kun je de meeste documentatie en informatie vinden
|
||||
op onze wiki @ https://github.com/codecombat/codecombat/wiki
|
||||
|
||||
We hopen dat je het naar je zin zult hebben en net zoveel plezier zult beleven als wij.
|
||||
|
||||
|
||||
- Nick, George, Scott, Michael, Jeremy and Glen
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
_____ _ _____ _ _
|
||||
/ __ \ | | / __ \ | | | |
|
||||
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
|
||||
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
|
||||
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
|
||||
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
|
||||
|
||||
=============================================================================
|
||||
|
||||
<EFBFBD>®§¤à ¢«ï¥¬, ⥯¥àì ¢ë ç áâì á®®¡é¥á⢠CodeCombat.
|
||||
’¥¯¥àì, ª®£¤ ¢ è á। à §à ¡®â稪 ãáâ ®¢«¥ , ¢ë £®â®¢ë ç âì
|
||||
¢®á¨âì ¢ª« ¤ ¨ ¯®¬®çì ¬ ᤥ« âì íâ®â ¬¨à «ãçè¥.
|
||||
|
||||
“ ¢ á ¥áâì ¢®¯à®áë ¨«¨ ¢ë å®â¥«¨ ¡ë á ¬¨ ¢áâà¥â¨âìáï?
|
||||
<EFBFBD>®£®¢®à¨â¥ á ¬¨ ¢ hipchat @ https://www.hipchat.com/g3plnOKqa
|
||||
|
||||
…é¥ ®¤¨ ᯮᮡ ¤®á⨦¥¨ï í⮣® - ¯®á¥é¥¨¥ 襣® ä®à㬠.
|
||||
‚ë ¬®¦¥â¥ ©â¨ ¥£® @ http://discourse.codecombat.com/
|
||||
|
||||
‚ë ¬®¦¥â¥ ¯à®ç¨â âì ® ¯®á«¥¤¨å ¤®á⨦¥¨ïå ¢ 襬 ¡«®£¥.
|
||||
…£® ¬®¦® ©â¨ @ http://blog.codecombat.com/
|
||||
|
||||
ˆ ¯®á«¥¤¥¥, ® ¥ ¯® § 票î, - ¢ë ¬®¦¥â¥ ©â¨ ¡®«ìèãî ç áâì ¤®ªã¬¥â 樨
|
||||
¨ ¨ä®à¬ 樨 ¢ 襩 ¢¨ª¨ @ https://github.com/codecombat/codecombat/wiki
|
||||
|
||||
Œë ¤¥¥¬áï, çâ® ¢ë ¡ã¤¥â¥ á« ¦¤ âìáï ¢ 襬 á®®¡é¥á⢥ â ª ¦¥, ª ª ¨ ¬ë.
|
||||
|
||||
|
||||
- <20>¨ª, „¦®à¤¦, ‘ª®ââ, Œ¨å í«ì, „¦¥à¥¬¨ ¨ ƒ«¥
|
|
@ -1,29 +0,0 @@
|
|||
_____ _ _____ _ _
|
||||
/ __ \ | | / __ \ | | | |
|
||||
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
|
||||
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
|
||||
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
|
||||
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
|
||||
|
||||
=============================================================================
|
||||
|
||||
Congratulations, you are now part of the CodeCombat community.
|
||||
Now that your Develop Environment has been setup, you are ready to start
|
||||
contributing and help us make this world a better place.
|
||||
|
||||
Do you have questions or would you like to meet us?
|
||||
Talk with us on hipchat @ https://www.hipchat.com/g3plnOKqa
|
||||
|
||||
Another way to reach us, is by visiting our forum.
|
||||
You can find it @ http://discourse.codecombat.com/
|
||||
|
||||
You can read about the latest developments on our blog site.
|
||||
This one can be found @ http://blog.codecombat.com/
|
||||
|
||||
Last but not least, you can find most of our documentation
|
||||
and information on our wiki @ https://github.com/codecombat/codecombat/wiki
|
||||
|
||||
We hope you enjoy yourself within our community, just as much as we do.
|
||||
|
||||
|
||||
- Nick, George, Scott, Michael, Jeremy and Glen
|
|
@ -1,7 +0,0 @@
|
|||
1) Wenn eine Frage gestellt wird, lies sie dir genauso durch uns antworte korrekt
|
||||
2) Dieses Setup befindet sich noch im Beta-Stadium und enthält evtl. Fehler
|
||||
3) Du kannst Fehler melden @ 'https://github.com/codecombat/codecombat/issues'
|
||||
4) Hast du Fragen/Vorschläge? Sprcih mit uns im HipChat via CodeCombat.com
|
||||
|
||||
Du kannst eine Schritt-für-Schritt-Anleitung in unserem Wiki finden.
|
||||
github.com/codecombat/codecombat/wiki/Setup-on-Windows:-a-step-by-step-guide
|
|
@ -1,6 +0,0 @@
|
|||
1) Si tienes una pregunta, hazla con cuidado y detalles
|
||||
2) Esta instalacion esta en beta y puede tener errores
|
||||
3) Puedes reportar bugs en @ 'https://github.com/codecombat/codecombat/issues'
|
||||
4) Tienes preguntas o sugerencias? Habla con nosotros en HipChat @ https://www.hipchat.com/g3plnOKqa
|
||||
|
||||
Puedes encontrar una guia paso a paso para esta instalacion en @ https://github.com/codecombat/codecombat/wiki/Setup-on-Windows:-a-step-by-step-guide
|
|
@ -1,8 +0,0 @@
|
|||
1) Antwoord voorzichtig en juist, indien er een vraag gesteld wordt.
|
||||
2) Deze installatie is nog steeds in beta en kan bugs bevatten.
|
||||
3) Rapporteer bugs op 'https://github.com/codecombat/codecombat/issues'
|
||||
4) Heb je vragen of suggesties? Praat met ons op HipChat via CodeCombat.com
|
||||
|
||||
Je kan een Engelstalige stappengids
|
||||
voor deze installatie vinden op onze wiki:
|
||||
github.com/codecombat/codecombat/wiki/Setup-on-Windows:-a-step-by-step-guide
|
|
@ -1,7 +0,0 @@
|
|||
1) Š®£¤ § ¤ ñâáï ¢®¯à®á, ¯®¦ «ã©áâ , ®â¢¥ç ©â¥ ¢¨¬ â¥«ì® ¨ ¯à ¢¨«ì®
|
||||
2) „ ë© ãáâ ®¢é¨ª 室¨âáï ¢ áâ ¤¨¨ ¡¥âë ¨ ¬®¦¥â ᮤ¥à¦ âì ¡ £¨
|
||||
3) ‚ë ¬®¦¥â¥ á®®¡é âì ® ¡ £ å @ 'https://github.com/codecombat/codecombat/issues'
|
||||
4) …áâì ¢®¯à®áë/¯à¥¤«®¦¥¨ï? <20>®£®¢®à¨â¥ á ¬¨ ¢ HipChat ç¥à¥§ CodeCombat.com
|
||||
|
||||
‚ë ¬®¦¥â¥ ©â¨ ¯®è £®¢®¥ à㪮¢®¤á⢮ ¤«ï ¤ ®£® ãáâ ®¢é¨ª ¢ 襩 ¢¨ª¨.
|
||||
github.com/codecombat/codecombat/wiki/Setup-on-Windows:-a-step-by-step-guide
|
|
@ -1,6 +0,0 @@
|
|||
1) When there is a question, please answer carefully and correctly
|
||||
2) This setup is still in beta and may contain bugs
|
||||
3) You can report bugs @ 'https://github.com/codecombat/codecombat/issues'
|
||||
4) Having questions/suggestions? Talk with us on HipChat @ https://www.hipchat.com/g3plnOKqa
|
||||
|
||||
You can find a step-by-step guide for this installation at @ https://github.com/codecombat/codecombat/wiki/Setup-on-Windows:-a-step-by-step-guide
|
|
@ -1,7 +0,0 @@
|
|||
_ _ _________ ___ ____________ _ _ _ _ _____ _ _
|
||||
| \ | || ___ \ \/ | | ___ \ ___ \ | | | \ | / __ \| | | |
|
||||
| \| || |_/ / . . | ______ | |_/ / |_/ / | | | \| | / \/| |_| |
|
||||
| . ` || __/| |\/| | |______| | ___ \ /| | | | . ` | | | _ |
|
||||
| |\ || | | | | | | |_/ / |\ \| |_| | |\ | \__/\| | | |
|
||||
\_| \_/\_| \_| |_/ \____/\_| \_|\___/\_| \_/\____/\_| |_/
|
||||
|
Binary file not shown.
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<variables>
|
||||
<global>
|
||||
<native>Deutsch</native>
|
||||
<description>German</description>
|
||||
<tips>Bevor wir mit der Installation beginnen, hier ein paar Tipps:</tips>
|
||||
<exit>Drücke eine beliebige Taste zum Beenden...</exit>
|
||||
</global>
|
||||
<language>
|
||||
<choosen>Du hast Deutsch als deine Sprache festgelegt.</choosen>
|
||||
<feedback>Ab jetzt senden wir unser Feedback in Deutsch.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>Um mit der Installation der Entwicklungsumgebung fortzuführen</s1>
|
||||
<s2>musst du die folgende Lizenz lesen und aktzeptieren:</s2>
|
||||
<q1>Hast du die Lizenz gelesen und aktzeptieren diese?</q1>
|
||||
<a1>Dieses Setup kann ohne Ihre Zustimmung nicht fortgeführt werden.</a1>
|
||||
<a2>Installation und Setup der CodeCombat Umgebung wurde abgebrochen.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-Bit System erkannt.</bit>
|
||||
<prefix>Es wurde das Betriebssystem</prefix>
|
||||
<sufix>erkannt.</sufix>
|
||||
<xp>Windows XP wird nicht unterstützt. Installation abgebrochen.</xp>
|
||||
</system>
|
||||
<process>
|
||||
<sks>Sind die für CodeCombat benötigten Programme bereits installiert?</sks>
|
||||
<skq>Wir empfehlen dir, mit „Nein“ zu antworten, falls du unsicher sind.</skq>
|
||||
<skc>Überspringe Installation der Programme...</skc>
|
||||
<s1>Ohne Software von Drittanbietern könnte CodeCombat nicht entwickelt werden.</s1>
|
||||
<s2>Aus diesem Grund musst du diese Software installieren,</s2>
|
||||
<s3>um sich in der Community zu engagieren.</s3>
|
||||
<s4>Wenn du ein Programm bereits installiert hast, brich die Installation bitte ab.</s4>
|
||||
<winpath>Gehe sicher das die Option zum hinzufügen der Applikation zum Windows Path ausgewählt ist, sofern die Auswahl möglich ist.</winpath>
|
||||
<prefix>Hast du bereits die aktuellste Version von</prefix>
|
||||
<sufix>installiert?</sufix>
|
||||
<downloading>wird heruntergeladen...</downloading>
|
||||
<installing>wird installiert...</installing>
|
||||
<unzipping>wird entpackt...</unzipping>
|
||||
<cleaning>wird aufgeräumt...</cleaning>
|
||||
<mongodbpath>Bitte gebe den kompletten Pfad an, an dem MongoDB installiert werden soll</mongodbpath>
|
||||
</process>
|
||||
</install>
|
||||
<github>
|
||||
<intro>
|
||||
<opensource>Wie Du bereits weißt, ist CodeCombat Open Source.</opensource>
|
||||
<online>Unser Quellcode ist komplett auf Github.</online>
|
||||
<manual>Wenn Du möchtest, kannst du das komplette Git Repository selbst herunterladen und nach deinen wünschen einrichten.</manual>
|
||||
<norec>Allerdings empfehlen wir, dass du den Prozess statt dessen uns überlässt.</norec>
|
||||
</intro>
|
||||
<skip>
|
||||
<question>Willst du das lokale Git Setup selbst vornehmen?</question>
|
||||
<consequence>Bitte vergewissere dich, dass das Repository korrekt heruntergeladen wurde, bevor du fortfährst.</consequence>
|
||||
<donotclose>Bitte schließe dieses Fenster nicht.</donotclose>
|
||||
<wait>Wenn du fertig bist, drücke eine beliebige Taste zum Fortfahren...</wait>
|
||||
</skip>
|
||||
<process>
|
||||
<path>Gebe bitte den kompletten Pfad zu deinem CodeCombat Git Repository ein: </path>
|
||||
<checkout>Bitte gib den kompletten Pfad ein, an dem du die CodeCombat Umgebung einrichten willst</checkout>
|
||||
<bashi>Diese Installation benötigt die Git Bash.</bashi>
|
||||
<bashp64>Die Git Bash ist standardmäßig in 'C:\Program Files (x86)\Git' installiert.</bashp64>
|
||||
<bashp32>Die Git Bash ist standardmäßig in 'C:\Program Files\Git' installiert.</bashp32>
|
||||
<bashq>Bitte gebe den kompletten Pfad zur Git Bash ein, oder drücke Enter, um den Standardpfad zu verwenden</bashq>
|
||||
<ssh>Willst du das Repository via SSH auschecken?</ssh>
|
||||
</process>
|
||||
<config>
|
||||
<intro>Du solltest nun CodeCombat innerhalb deines GitHub-Kontos geforked haben...</intro>
|
||||
<info>Bitte gebe deine GitHub Informationen ein um die Konfiguration deines lokalen Repositorys vorzunehmen.</info>
|
||||
<username>Benutzername: </username>
|
||||
<password>Passwort: </password>
|
||||
<process>Danke... Konfiguriere nun das lokale Repository...</process>
|
||||
</config>
|
||||
</github>
|
||||
<switch>
|
||||
<install>Die Installation deiner lokalen Umgebung war erfolgreich!</install>
|
||||
<close>Du kannst nun dieses Setup schließen.</close>
|
||||
<open>Danach öffnest du bitte das Konfigurations-Setup das dann automatisch deine Umgebung konfiguriert...</open>
|
||||
</switch>
|
||||
<npm>
|
||||
<install>Installiere bower, brunch, nodemon und sendwithus...</install>
|
||||
<binstall>Installiere bower Pakete...</binstall>
|
||||
<sass>Installiere sass...</sass>
|
||||
<npm>Installiere npm...</npm>
|
||||
<brnch>Starte brunch....</brnch>
|
||||
<mongodb>Richte die MongoDB Datenbank für dich ein...</mongodb>
|
||||
<database>Lade die aktuellste Version der CodeCombat Datenbank herunter...</database>
|
||||
<script>Bereite das automatische Start-Skript für dich vor...</script>
|
||||
<close>Nicht schließen!</close>
|
||||
</npm>
|
||||
<error>
|
||||
<path>Dieser Pfad existiert bereits. Willst du ihn wirklich überschreiben?</path>
|
||||
<exist>Dieser Pfad exisitert nicht. Bitte versuche es erneut...</exist>
|
||||
</error>
|
||||
<end>
|
||||
<succesfull>Die CodeCombat Entwicklungsumgebung wurde erfoglreich installiert.</succesfull>
|
||||
<thankyou>Vielen Dank für die Unterstützung und bis bald.</thankyou>
|
||||
<readme>Willst du das README lesen, um weitere Informationen zu erhalten?</readme>
|
||||
</end>
|
||||
<start>
|
||||
<s1>Von nun an kannst du die Entwicklungsumgebung starten unter</s1>
|
||||
<s2>einmal mit der Maus klicken.</s2>
|
||||
<s3> 1) Einfach Doppelklicken</s3>
|
||||
<s4>und warten bis die Entwicklungsumgebung fertig geladen hat.</s4>
|
||||
<s5> 2) Jetzt 'localhost:3000' in deinem bevorzugten Browser aufrufen.</s5>
|
||||
<s6>Fertig. Du bist nun bereit, bei CodeCombat mitzuarbeiten!</s6>
|
||||
</start>
|
||||
</variables>
|
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<variables>
|
||||
<global>
|
||||
<native>English</native>
|
||||
<description>English</description>
|
||||
<tips>Before we start the installation, here are some tips:</tips>
|
||||
<exit>Press any key to exit...</exit>
|
||||
</global>
|
||||
<language>
|
||||
<choosen>You have choosen English as your language.</choosen>
|
||||
<feedback>From now on we'll send our feedback in English.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>In order to continue the installation of the developers environment</s1>
|
||||
<s2>you will have to read and agree with the following license:</s2>
|
||||
<q1>Have you read the license and do you agree with it?</q1>
|
||||
<a1>This setup can't happen without an agreement.</a1>
|
||||
<a2>Installation and Setup of the CodeCombat environment is cancelled.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-bit computer detected.</bit>
|
||||
<prefix>The operating system</prefix>
|
||||
<sufix>was detected.</sufix>
|
||||
<xp>We don't support Windows XP, installation cancelled.</xp>
|
||||
</system>
|
||||
<process>
|
||||
<sks>Have you already installed all the software needed for CodeCombat?</sks>
|
||||
<skq>We recommand that you reply negative in case you're not sure.</skq>
|
||||
<skc>Skipping the installation of the software...</skc>
|
||||
<s1>CodeCombat couldn't be developed without third-party software.</s1>
|
||||
<s2>That's why you'll need to install this software,</s2>
|
||||
<s3>in order to start contributing to our community.</s3>
|
||||
<s4>Cancel the installation if you already have the application.</s4>
|
||||
<winpath>Make sure to select the option that adds the application to your Windows Path, if the option is available.</winpath>
|
||||
<prefix>Do you already have the latest version of</prefix>
|
||||
<sufix>installed?</sufix>
|
||||
<downloading>is downloading...</downloading>
|
||||
<installing>is installing...</installing>
|
||||
<unzipping>is unzipping...</unzipping>
|
||||
<cleaning>is cleaning...</cleaning>
|
||||
<mongodbpath>Please define the full path where mongodb should be installed</mongodbpath>
|
||||
</process>
|
||||
</install>
|
||||
<github>
|
||||
<intro>
|
||||
<opensource>CodeCombat is opensource, like you already know.</opensource>
|
||||
<online>All our sourcecode can be found online at Github.</online>
|
||||
<manual>You can choose to do the entire Git setup yourself.</manual>
|
||||
<norec>However we recommend that you let us handle it instead.</norec>
|
||||
</intro>
|
||||
<skip>
|
||||
<question>Do you want to do the Local Git setup manually yourself?</question>
|
||||
<consequence>Make sure you have correctly setup your repository before processing.</consequence>
|
||||
<donotclose>Do not close this window please.</donotclose>
|
||||
<wait>When you're ready, press any key to continue...</wait>
|
||||
</skip>
|
||||
<process>
|
||||
<path>Please give the full path of your CodeCombat git repository: </path>
|
||||
<checkout>Please enter the full path where you want to install your CodeCombat environment</checkout>
|
||||
<bashi>This installation requires Git Bash.</bashi>
|
||||
<bashp64>Git bash is by default installed at 'C:\Program Files (x86)\Git'.</bashp64>
|
||||
<bashp32>Git bash is by default installed at 'C:\Program Files\Git'.</bashp32>
|
||||
<bashq>Please enter the full path where git bash is installed or just press enter if it's in the default location</bashq>
|
||||
<ssh>Do you want to checkout the repository via ssh?</ssh>
|
||||
</process>
|
||||
<config>
|
||||
<intro>You should have forked CodeCombat to your own GitHub Account by now...</intro>
|
||||
<info>Please enter your github information, to configure your local repository.</info>
|
||||
<username>Username: </username>
|
||||
<password>Password: </password>
|
||||
<process>Thank you... Configuring your local repository right now...</process>
|
||||
</config>
|
||||
</github>
|
||||
<switch>
|
||||
<install>The installation of your local environment was succesfull!</install>
|
||||
<close>You can now close this setup.</close>
|
||||
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
|
||||
</switch>
|
||||
<npm>
|
||||
<install>Installing bower, brunch, nodemon and sendwithus...</install>
|
||||
<binstall>Installing bower packages...</binstall>
|
||||
<sass>Installing sass...</sass>
|
||||
<npm>Installing npm...</npm>
|
||||
<brnch>Starting brunch...</brnch>
|
||||
<mongodb>Setting up a MongoDB database for you...</mongodb>
|
||||
<db>Downloading the last version of the CodeCombat database...</db>
|
||||
<script>Preparing the automatic startup script for you...</script>
|
||||
<close>Don't close!</close>
|
||||
</npm>
|
||||
<error>
|
||||
<path>That path already exists, are you sure you want to overwrite it?</path>
|
||||
<exist>That path doesn't exist. Please try again...</exist>
|
||||
</error>
|
||||
<end>
|
||||
<succesfull>The setup of the CodeCombat Dev. Environment was succesfull.</succesfull>
|
||||
<thankyou>Thank you already for your contribution and see you soon.</thankyou>
|
||||
<readme>Do you want to read the README for more information?</readme>
|
||||
</end>
|
||||
<start>
|
||||
<s1>From now on you can start the dev. environment at</s1>
|
||||
<s2>the touch of a single mouse click.</s2>
|
||||
<s3> 1) Just double click</s3>
|
||||
<s4> and let the environment start up.</s4>
|
||||
<s5> 2) Now just open 'localhost:3000' in your prefered browser.</s5>
|
||||
<s6>That's it, you're now ready to start working on CodeCombat!</s6>
|
||||
</start>
|
||||
</variables>
|
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<variables>
|
||||
<global>
|
||||
<native>Espanol</native>
|
||||
<description>Espanol</description>
|
||||
<tips>Algunas sugerencias antes de comenzar la instalación:</tips>
|
||||
<exit>Presiona cualquier tecla para salir...</exit>
|
||||
</global>
|
||||
<language>
|
||||
<choosen>Has elegido Español como tu idioma.</choosen>
|
||||
<feedback>De ahora en adelante te enviaremos nuestro feedback en Español.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>Para continuar con la instalación del ambiente de desarrollo</s1>
|
||||
<s2>tendrás que leer y estar de acuerdo con la licencia:</s2>
|
||||
<q1>¿Has leído toda la licencia y estás de acuerdo con ella?</q1>
|
||||
<a1>Esta instalación no se puede completar sin un acuerdo.</a1>
|
||||
<a2>La instalación y configuración del ambiente de CodeCombat ha sido cancelada.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-bit computadora detectada.</bit>
|
||||
<prefix>El sistema operativo</prefix>
|
||||
<sufix>ha sido detectado.</sufix>
|
||||
<xp>No soportamos Windows XP, instalación cancelada.</xp>
|
||||
</system>
|
||||
<process>
|
||||
<sks>¿Ya has instalado todo el software necesario para instalar CodeCombat?</sks>
|
||||
<skq>Te recomendamos que respondas negativamente si no estás seguro.</skq>
|
||||
<skc>Saltando la instalación del software...</skc>
|
||||
<s1>CodeCombat no pudo ser desarrollo sin third-party software.</s1>
|
||||
<s2>Por eso necesitas instalar este software,</s2>
|
||||
<s3>para comenzar a contribuir a nuestra comunidad.</s3>
|
||||
<s4>Cancela la instalación si ya tienes la aplicación.</s4>
|
||||
<winpath>Asegúrate de seleccionar la opción que agrega la aplicación al Windows Path, si la opción está disponible.</winpath>
|
||||
<prefix>¿Ya tienes la última versión </prefix>
|
||||
<sufix>instalada?</sufix>
|
||||
<downloading>está descargando...</downloading>
|
||||
<installing>está instalando...</installing>
|
||||
<unzipping>está descomprimiendo...</unzipping>
|
||||
<cleaning>está limpiando...</cleaning>
|
||||
<mongodbpath>Por favor especifica la ruta completa donde MongoDB debe ser isntalado</mongodbpath>
|
||||
</process>
|
||||
</install>
|
||||
<github>
|
||||
<intro>
|
||||
<opensource>CodeCombat es opensource, como ya sabes.</opensource>
|
||||
<online>Todo nuestro código puede ser encontrada online en GitHub.</online>
|
||||
<manual>Tú puedes instalar Git por tu cuenta.</manual>
|
||||
<norec>Pero te recomendamos que nos permitas hacerlo nosotros.</norec>
|
||||
</intro>
|
||||
<skip>
|
||||
<question>¿Quieres instalar Git por tu cuenta?</question>
|
||||
<consequence>Asegurate de haber configurado tu repositorio correctamente.</consequence>
|
||||
<donotclose>No cierres estaventana por favor..</donotclose>
|
||||
<wait>Cuando estés listo, presiona cualquier tecla para continuar...</wait>
|
||||
</skip>
|
||||
<process>
|
||||
<path>Por favor escriba la ruta completa de tu repositorio de CodeCombat de Git: </path>
|
||||
<checkout>Por favor escriba la ruta completa donde quieres que se instale el ambiente de desarrollo de CodeCombat</checkout>
|
||||
<bashi>Estainstalación necesita Git Bash.</bashi>
|
||||
<bashp64>Git bash está instalada por default en 'C:\Program Files (x86)\Git'.</bashp64>
|
||||
<bashp32>Git bash está instalada por default en 'C:\Program Files\Git'.</bashp32>
|
||||
<bashq>Por favor escriba la ruta completa donde git bash está instalada o presione enter si está en el lugar default</bashq>
|
||||
<ssh>Quieres revisar el repositorio via ssh?</ssh>
|
||||
</process>
|
||||
<config>
|
||||
<intro>Deberías haber hecho fork a CodeCombat at tu propia cuenta de GitHub...</intro>
|
||||
<info>Por favor ingrese su información de github para configurar el repositorio local.</info>
|
||||
<username>Usuario: </username>
|
||||
<password>Contraseña: </password>
|
||||
<process>Gracias... Configurando tu repositorio local ahora mismo...</process>
|
||||
</config>
|
||||
</github>
|
||||
<switch>
|
||||
<install>¡La instalación de tu ambiente local exitosa!</install>
|
||||
<close>Ahora puedes cerrar esta instalación.</close>
|
||||
<open>Después de esto, deberías abrir la configuración para configurar automáticamente tu ambiente...</open>
|
||||
</switch>
|
||||
<npm>
|
||||
<install>Instalando bower, brunch, nodemon y sendwithus...</install>
|
||||
<binstall>Instalando bower packages...</binstall>
|
||||
<sass>Instalando sass...</sass>
|
||||
<npm>Instalando npm...</npm>
|
||||
<brnch>Iniciando brunch....</brnch>
|
||||
<mongodb>Configurando una base de datos de MongoDB para ti...</mongodb>
|
||||
<db>Descargando la última version de la base de datos de CodeCombat...</db>
|
||||
<script>Preparando el scritp de inicio automático...</script>
|
||||
<close>¡No cerrar!</close>
|
||||
</npm>
|
||||
<error>
|
||||
<path>¿Esa ruta ya existe, quieres sobreescribirla?</path>
|
||||
<exist>Esa ruta no existe. Intente de nuevo...</exist>
|
||||
</error>
|
||||
<end>
|
||||
<succesfull> La configuración fue exitosa.</succesfull>
|
||||
<thankyou>Muchas gracias por tu contribución y nos veremos pronto.</thankyou>
|
||||
<readme>¿Quieres leer el README para más información?</readme>
|
||||
</end>
|
||||
<start>
|
||||
<s1>Puedes iniciar el ambiente </s1>
|
||||
<s2>en un instance</s2>
|
||||
<s3> 1) Da doble clickk</s3>
|
||||
<s4> y el ambiente de desarrollo iniciará.</s4>
|
||||
<s5> 2) Ahora abre 'localhost:3000' en tu browser preferido.</s5>
|
||||
<s6>¡Listo! Ya estás preparado para trabajar en CodeCombat</s6>
|
||||
</start>
|
||||
</variables>
|
|
@ -1,7 +0,0 @@
|
|||
en
|
||||
ru
|
||||
nl
|
||||
de
|
||||
zh-HANT
|
||||
zh-HANS
|
||||
es
|
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<variables>
|
||||
<global>
|
||||
<native>Nederlands</native>
|
||||
<description>Dutch</description>
|
||||
<tips>Voor we verder gaan met de installatie hier volgen enkele tips:</tips>
|
||||
<exit>Druk een willekeurige toets in om af te sluiten...</exit>
|
||||
</global>
|
||||
<language>
|
||||
<choosen>Je hebt Nederlands gekozen als jouw taal naar keuze.</choosen>
|
||||
<feedback>Vanaf nu geven we onze feedback in het Nederlands.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>Om verder te gaan met de installatie van jouw CodeCombat omgeving</s1>
|
||||
<s2>moet je de licentieovereenkomst lezen en ermee akkoord gaan.</s2>
|
||||
<q1>Heb je de licentieovereenkomst gelezen en ga je ermee akkoord?</q1>
|
||||
<a1>Deze installatie kan niet doorgaan zonder jouw akkoord.</a1>
|
||||
<a2>De installatie van jouw Developers omgeving is nu geannulleerd.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-bit computer gedetecteerd.</bit>
|
||||
<prefix>Het besturingssysteem</prefix>
|
||||
<sufix>is gedetecteerd.</sufix>
|
||||
<xp>Wij ondersteunen Windows XP niet, installatie geannuleerd.</xp>
|
||||
</system>
|
||||
<process>
|
||||
<sks>Heb je alle benodige software al geïnstalleerd?</sks>
|
||||
<skq>We raden aan dat je negatief antwoord indien je niet zeker bent.</skq>
|
||||
<skc>De installatie van software wordt geannuleerd...</skc>
|
||||
<s1>CodeCombat kon niet worden ontwikkeld zonder third-party software.</s1>
|
||||
<s2>Dat is waarom je deze software moet installeren,</s2>
|
||||
<s3>zodat je kan beginnen met het bijdragen tot onze gemeenschap.</s3>
|
||||
<s4>Annuleer de installatie als je de applicatie al hebt.</s4>
|
||||
<winpath>Zorg er zeker voor dat je de optie selecteert die de applicatie aan je Windows Path toevoegt, als deze optie beschikbaar is.</winpath>
|
||||
<prefix>Heb je al de laatste versie van</prefix>
|
||||
<sufix>geïnstalleerd?</sufix>
|
||||
<downloading>is aan het downloaden...</downloading>
|
||||
<installing>is aan het installeren...</installing>
|
||||
<unzipping>is aan het uitpakken...</unzipping>
|
||||
<cleaning>is aan het opkuisen...</cleaning>
|
||||
<mongodbpath>Geef het volledige pad op waar mongodb mag worden geïnstalleerd</mongodbpath>
|
||||
</process>
|
||||
</install>
|
||||
<github>
|
||||
<intro>
|
||||
<opensource>CodeCombat is open-source, zoals je waarschijnlijk wel al weet.</opensource>
|
||||
<online>Je kunt al onze source code vinden op Github.</online>
|
||||
<manual>Indien je wil, kan je de Git setup ook manueel doen.</manual>
|
||||
<norec>Maar wij raden aan dat je ons dit automatisch laat afhandelen.</norec>
|
||||
</intro>
|
||||
<skip>
|
||||
<question>Wil je de lokale Git setup manueel doen?</question>
|
||||
<consequence>Zorg er zeker voor dat jouw git repository correct is.</consequence>
|
||||
<donotclose>Sluit dit venster alsjeblieft niet.</donotclose>
|
||||
<wait>Wanneer je klaar bent, druk dan op eender welke toets om verder te gaan...</wait>
|
||||
</skip>
|
||||
<process>
|
||||
<path>Geef alsjeblieft het volledige pad in van je CodeCombat git repository: </path>
|
||||
<checkout>Geef alsjeblieft het volledige pad in waar je de CodeCombat ontwikkelingsomgeving wilt installeren</checkout>
|
||||
<bashi>Deze installatie maakt gebruik van Git Bash.</bashi>
|
||||
<bashp64>Git bash is normaal gezien geïnstalleerd in 'C:\Program Files (x86)\Git'.</bashp64>
|
||||
<bashp32>Git bash is normaal gezien geïnstalleerd in 'C:\Program Files\Git'.</bashp32>
|
||||
<bashq>Geef alsjeblieft het volledige pad op van Git Bash of druk gewoon op enter indien je het pad niet gewijzigd hebt.</bashq>
|
||||
<ssh>Wil je het git project downloaden via ssh?</ssh>
|
||||
</process>
|
||||
<config>
|
||||
<intro>Je zou nu al een eigen CodeCombat-fork moeten hebben gekoppeld aan jouw GitHub account...</intro>
|
||||
<info>Geef jou GitHub informatie alstublieft, zodat wij jou lokale repositorie kunnen configureren.</info>
|
||||
<username>Gebruikersnaam: </username>
|
||||
<password>Wachtwoord: </password>
|
||||
<process>Dank u, jouw lokaal project wordt nu geconfigureerd...</process>
|
||||
</config>
|
||||
</github>
|
||||
<switch>
|
||||
<install>De installatie van jouw lokale omgeving was een succes!</install>
|
||||
<close>Je kan nu deze setup sluiten.</close>
|
||||
<open>Nadien, kan je de 'configuration' setup openen om jouw omgeving automatisch te configureren...</open>
|
||||
</switch>
|
||||
<npm>
|
||||
<install>Bezig met het installeren van bower, brunch, nodemon en sendwithus...</install>
|
||||
<binstall>Bower packages worden geïnstalleerd...</binstall>
|
||||
<sass>Sass wordt geïnstalleerd...</sass>
|
||||
<npm>Npm wordt geïnstalleerd...</npm>
|
||||
<brnch>Brunch wordt gestart...</brnch>
|
||||
<mongodb>De MongoDB database wordt voor je klaargemaakt...</mongodb>
|
||||
<database>De laatste versie van de CodeCombat database wordt gedownload...</database>
|
||||
<script>Het automatische start-script wordt voor je klaargemaakt...</script>
|
||||
<close>Niet sluiten!</close>
|
||||
</npm>
|
||||
<error>
|
||||
<path>Dat pad bestaat al, ben je zeker dat je het wil overschrijven?</path>
|
||||
<exist>Dat pad bestaat niet, probeer alsjeblieft opnieuw...</exist>
|
||||
</error>
|
||||
<end>
|
||||
<succesfull>De installatie van de CodeCombat ontwikkelingsomgeving was succesvol.</succesfull>
|
||||
<thankyou>Alvast bedankt voor al je werk en tot binnenkort.</thankyou>
|
||||
<readme>Wil je de LEESMIJ lezen voor meer informatie?</readme>
|
||||
</end>
|
||||
<start>
|
||||
<s1>Vanaf nu kan je de ontwikkelingsomgeving opstarten</s1>
|
||||
<s2>met het gemak van een enkele muisklik.</s2>
|
||||
<s3> 1) Dubbelklik op</s3>
|
||||
<s4>en laat de omgeving opstarten.</s4>
|
||||
<s5> 2) Nu kan je 'localhost:3000' openen in je browser naar voorkeur.</s5>
|
||||
<s6>Dat is het, je bent nu klaar om te starten met je werk aan CodeCombat.</s6>
|
||||
</start>
|
||||
</variables>
|
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<variables>
|
||||
<global>
|
||||
<native>русский</native>
|
||||
<description>Russian</description>
|
||||
<tips>Перед тем, как мы начнём установку, вот несколько советов:</tips>
|
||||
<exit>Нажмите Enter для выхода...</exit>
|
||||
</global>
|
||||
<language>
|
||||
<choosen>Вы выбрали русский в качестве вашего языка.</choosen>
|
||||
<feedback>C данного момента мы будем общаться на русском.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>Для того, чтобы продолжить установку среды разработчика</s1>
|
||||
<s2>вы должны прочитать и согласиться со следующей лицензией:</s2>
|
||||
<q1>Вы прочитали лицензию и согласны с ней?</q1>
|
||||
<a1>Данная установка не начнётся без согласия.</a1>
|
||||
<a2>Установка и настройка среды CodeCombat отменена.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-битный компьютер обнаружен.</bit>
|
||||
<prefix>Обнаружена операционная система</prefix>
|
||||
<sufix>.</sufix>
|
||||
<xp>Мы не поддерживаем Windows XP, установка отменена.</xp>
|
||||
</system>
|
||||
<process>
|
||||
<sks>Вы уже установили всё программное обеспечение, необходимое для CodeCombat?</sks>
|
||||
<skq>Мы рекумендуем ответить отрицательно, если вы не уверены.</skq>
|
||||
<skc>Пропуск установки программного обеспечения...</skc>
|
||||
<s1>CodeCombat не мог бы быть разработан без стороннего программного обеспечения.</s1>
|
||||
<s2>Вот почему вы должны будете установить это программное обеспечение</s2>
|
||||
<s3>для того, чтобы начать вносить вклад в наше сообщество.</s3>
|
||||
<s4>Отмените установку, если у вас уже есть приложение.</s4>
|
||||
<winpath>Убедитесь в выборе опции, которая добавляет приложение в Windows PATH, если опция доступна.</winpath>
|
||||
<prefix>У вас уже есть последняя версия</prefix>
|
||||
<sufix>?</sufix>
|
||||
<downloading>загружается...</downloading>
|
||||
<installing>устанавливается...</installing>
|
||||
<unzipping>распаковывается...</unzipping>
|
||||
<cleaning>прибирается...</cleaning>
|
||||
<mongodbpath>Пожалуйста, определите полный путь, куда должен быть установлен MongoDB</mongodbpath>
|
||||
</process>
|
||||
</install>
|
||||
<github>
|
||||
<intro>
|
||||
<opensource>Исходный код CodeCombat открыт, как вы уже знаете.</opensource>
|
||||
<online>Весь наш исходный код может быть найден онлайн в Github.</online>
|
||||
<manual>Вы можете выбрать целиком самостоятельную установку Git.</manual>
|
||||
<norec>Однако мы рекомендуем, вместо этого, передать управление нам.</norec>
|
||||
</intro>
|
||||
<skip>
|
||||
<question>Вы хотите провести установку Local Git вручную самостоятельно?</question>
|
||||
<consequence>Убедитесь, что вы правильно настроили репозиторий перед выполнением.</consequence>
|
||||
<donotclose>Не закрывайте это окно, пожалуйста.</donotclose>
|
||||
<wait>Когда вы будете готовы, нажмите Enter для продолжения...</wait>
|
||||
</skip>
|
||||
<process>
|
||||
<path>Пожалуйста, укажите полный путь до вашего CodeCombat репозитория git: </path>
|
||||
<checkout>Пожалуйста, введите полный путь, куда вы хотите установить среду CodeCombat</checkout>
|
||||
<bashi>Данная установка требует Git Bash.</bashi>
|
||||
<bashp64>Git bash по умолчанию установлен в 'C:\Program Files (x86)\Git'.</bashp64>
|
||||
<bashp32>Git bash по умолчанию установлен в 'C:\Program Files\Git'.</bashp32>
|
||||
<bashq>Пожалуйста, введите полный путь, куда установлен git bash или просто нажмите Enter, если он находится в папке по умолчанию</bashq>
|
||||
<ssh>Вы хотите проверять репозиторий через ssh?</ssh>
|
||||
</process>
|
||||
<config>
|
||||
<intro>Вы должны были сделать форк CodeCombat на вашем аккаунте GitHub...</intro>
|
||||
<info>Пожалуйста, введите ваши данные github, чтобы настроить локальный репозиторий.</info>
|
||||
<username>Имя пользователя: </username>
|
||||
<password>Пароль: </password>
|
||||
<process>Спасибо... Идёт настройка вашего локального репозитория...</process>
|
||||
</config>
|
||||
</github>
|
||||
<switch>
|
||||
<install>Установка вашей локальной среды успешно завершена!</install>
|
||||
<close>Теперь вы можете закрыть данный установщик.</close>
|
||||
<open>После этого вы должны открыть установщик настроек для автоматической конфигурации вашей среды...</open>
|
||||
</switch>
|
||||
<npm>
|
||||
<install>Установка bower, brunch, nodemon и sendwithus...</install>
|
||||
<binstall>Установка пакетов bower...</binstall>
|
||||
<sass>Установка sass...</sass>
|
||||
<npm>Установка npm...</npm>
|
||||
<brnch>Запуск brunch....</brnch>
|
||||
<mongodb>Установка базы данных MongoDB...</mongodb>
|
||||
<db>Скачивание последней версии базы данных CodeCombat...</db>
|
||||
<script>Подготовка автоматического скрипта запуска для вас...</script>
|
||||
<close>Не закрывайте!</close>
|
||||
</npm>
|
||||
<error>
|
||||
<path>Этот путь уже существует, вы уверены, что хотите перезаписать его?</path>
|
||||
<exist>Этот путь не существует. Пожалуйста, попробуйте ещё раз...</exist>
|
||||
</error>
|
||||
<end>
|
||||
<succesfull>Установка среды разработчика CodeCombat успешно завершена.</succesfull>
|
||||
<thankyou>Заранее спасибо за ваш вклад и до скорой встречи.</thankyou>
|
||||
<readme>Вы хотите прочитать README для получения дополнительной информации?</readme>
|
||||
</end>
|
||||
<start>
|
||||
<s1>С этого момента вы можете запускать среду разработчика</s1>
|
||||
<s2>с помощью щелчка мыши.</s2>
|
||||
<s3> 1) Дважды щёлкните</s3>
|
||||
<s4> и дайте среде запуститься.</s4>
|
||||
<s5> 2) Теперь просто откройте 'localhost:3000' в вашем любимом браузере.</s5>
|
||||
<s6>Вот и всё, теперь вы готовы приступить к работе над CodeCombat!</s6>
|
||||
</start>
|
||||
</variables>
|
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="GB2312" ?>
|
||||
<variables>
|
||||
<global>
|
||||
<native>简体中文</native>
|
||||
<description>Simplified Chinese</description>
|
||||
<tips>Before we start the installation, here are some tips:</tips>
|
||||
<exit>Press any key to exit...</exit>
|
||||
</global>
|
||||
<language>
|
||||
<choosen>You have choosen 简体中文 as your language.</choosen>
|
||||
<feedback>目前我们只能用英文给你反馈</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>In order to continue the installation of the developers environment</s1>
|
||||
<s2>you will have to read and agree with the following license:</s2>
|
||||
<q1>Have you read the license and do you agree with it?</q1>
|
||||
<a1>This setup can't happen without an agreement.</a1>
|
||||
<a2>Installation and Setup of the CodeCombat environment is cancelled.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-位系统.</bit>
|
||||
<prefix>操作系统</prefix>
|
||||
<sufix>被侦测到.</sufix>
|
||||
<xp>我们不支持 Windows XP, 安装取消.</xp>
|
||||
</system>
|
||||
<process>
|
||||
<sks>你是否已经安装好运行 CodeCombat 所需的所有软件?</sks>
|
||||
<skq>如果你不确定的话请回答 No.</skq>
|
||||
<skc>正在跳过此软件的安装...</skc>
|
||||
<s1>CodeCombat 无法在不使用第三方服务的情况下开发.</s1>
|
||||
<s2>这就是为什么你需要安装这些软件,</s2>
|
||||
<s3>为了开始给我们的开源社区做贡献.</s3>
|
||||
<s4>如果你已经有了这些软件 请取消安装.</s4>
|
||||
<winpath>Make sure to select the option that adds the application to your Windows Path, if the option is available.</winpath>
|
||||
<prefix>你是否已经安装了最新版本的</prefix>
|
||||
<sufix>?</sufix>
|
||||
<downloading>正在下载...</downloading>
|
||||
<installing>正在安装...</installing>
|
||||
<unzipping>正在解压...</unzipping>
|
||||
<cleaning>正在清理...</cleaning>
|
||||
<mongodbpath>请输入你希望安装 mongodb 的文件夹的全路径</mongodbpath>
|
||||
</process>
|
||||
</install>
|
||||
<github>
|
||||
<intro>
|
||||
<opensource>CodeCombat 是开源的.</opensource>
|
||||
<online>我们的所有源代码都放在了 Github.</online>
|
||||
<manual>你可以选择自己手工安装 Git.</manual>
|
||||
<norec>但我们仍然建议让程序自动替你完成.</norec>
|
||||
</intro>
|
||||
<skip>
|
||||
<question>你是否想自己手工安装本地 Git 安装?</question>
|
||||
<consequence>请确保在开始处理前, 你有正确设置好你的库.</consequence>
|
||||
<donotclose>请不要关闭此窗口.</donotclose>
|
||||
<wait>如果你准备好了, 请按任意键继续...</wait>
|
||||
</skip>
|
||||
<process>
|
||||
<path>请输入你 CodeCombat git库的全路径: </path>
|
||||
<checkout>请输入你想安装 CodeCombat 环境的全路径</checkout>
|
||||
<bashi>这项安装需要 Git Bash.</bashi>
|
||||
<bashp64>Git bash 默认安装在 'C:\Program Files (x86)\Git'.</bashp64>
|
||||
<bashp32>Git bash 默认安装在 'C:\Program Files\Git'.</bashp32>
|
||||
<bashq>请输入 git bash 的安装全路径, 如果你安装的是默认路径, 那么直接输入回车即可</bashq>
|
||||
<ssh>你是否想使用 ssh 来检出(checkout)库(repository)?</ssh>
|
||||
</process>
|
||||
<config>
|
||||
<intro>You should have forked CodeCombat to your own GitHub Account by now...</intro>
|
||||
<info>Please enter your github information, to configure your local repository.</info>
|
||||
<username>Username: </username>
|
||||
<password>Password: </password>
|
||||
<process>Thank you... Configuring your local repistory right now...</process>
|
||||
</config>
|
||||
</github>
|
||||
<switch>
|
||||
<install>The installation of your local environment was succesfull!</install>
|
||||
<close>You can now close this setup.</close>
|
||||
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
|
||||
</switch>
|
||||
<npm>
|
||||
<install>正在安装 bower, brunch, nodemon 和 sendwithus...</install>
|
||||
<binstall>正在用 bower 安装依赖包...</binstall>
|
||||
<sass>正在安装 sass...</sass>
|
||||
<npm>正在安装 npm...</npm>
|
||||
<brnch>正在开启 brunch....</brnch>
|
||||
<mongodb>正在为你设置 MongoDB 数据库...</mongodb>
|
||||
<db>正在下载 CodeCombat 数据库的最新版本...</db>
|
||||
<script>Preparing the automatic startup script for you...</script>
|
||||
<close>Don't close!</close>
|
||||
</npm>
|
||||
<error>
|
||||
<path>这个路径已经存在, 你想要覆盖它吗?</path>
|
||||
<exist>这个路径不存在, 请再次尝试...</exist>
|
||||
</error>
|
||||
<end>
|
||||
<succesfull>CodeCombat 开发环境的搭建已成功.</succesfull>
|
||||
<thankyou>感谢~ 我们会很快再次见面的 :)</thankyou>
|
||||
<readme>你是否想阅读 README 文件以了解更多信息?</readme>
|
||||
</end>
|
||||
<start>
|
||||
<s1>From now on you can start the dev. environment at</s1>
|
||||
<s2>the touch of a single mouse click.</s2>
|
||||
<s3> 1) 双击文件</s3>
|
||||
<s4> 启动开发环境.</s4>
|
||||
<s5> 2) 在浏览器里访问 'localhost:3000' </s5>
|
||||
<s6>好了,你现在可以开始开发 CodeCombat 了!</s6>
|
||||
</start>
|
||||
</variables>
|
|
@ -1,108 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<variables>
|
||||
<global>
|
||||
<native>繁体中文</native>
|
||||
<description>Traditional Chinese</description>
|
||||
<tips>Before we start the installation, here are some tips:</tips>
|
||||
<exit>Press any key to exit...</exit>
|
||||
</global>
|
||||
<language>
|
||||
<choosen>You have choosen 繁体中文 as your language.</choosen>
|
||||
<feedback>From now on we'll send our feedback in 繁体中文.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>In order to continue the installation of the developers environment</s1>
|
||||
<s2>you will have to read and agree with the following license:</s2>
|
||||
<q1>Have you read the license and do you agree with it?</q1>
|
||||
<a1>This setup can't happen without an agreement.</a1>
|
||||
<a2>Installation and Setup of the CodeCombat environment is cancelled.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-bit computer detected.</bit>
|
||||
<prefix>The operating system</prefix>
|
||||
<sufix>was detected.</sufix>
|
||||
<xp>We don't support Windows XP, installation cancelled.</xp>
|
||||
</system>
|
||||
<process>
|
||||
<sks>Have you already installed all the software needed for CodeCombat?</sks>
|
||||
<skq>We recommand that you reply negative in case you're not sure.</skq>
|
||||
<skc>Skipping the installation of the software...</skc>
|
||||
<s1>CodeCombat couldn't be developed without third-party software.</s1>
|
||||
<s2>That's why you'll need to install this software,</s2>
|
||||
<s3>in order to start contributing to our community.</s3>
|
||||
<s4>Cancel the installation if you already have the application.</s4>
|
||||
<winpath>Make sure to select the option that adds the application to your Windows Path, if the option is available.</winpath>
|
||||
<prefix>Do you already have the latest version of</prefix>
|
||||
<sufix>installed?</sufix>
|
||||
<downloading>is downloading...</downloading>
|
||||
<installing>is installing...</installing>
|
||||
<unzipping>is unzipping...</unzipping>
|
||||
<cleaning>is cleaning...</cleaning>
|
||||
<mongodbpath>Please define the full path where mongodb should be installed</mongodbpath>
|
||||
</process>
|
||||
</install>
|
||||
<github>
|
||||
<intro>
|
||||
<opensource>CodeCombat is opensource, like you already know.</opensource>
|
||||
<online>All our sourcecode can be found online at Github.</online>
|
||||
<manual>You can choose to do the entire Git setup yourself.</manual>
|
||||
<norec>However we recommend that you instead let us handle it instead.</norec>
|
||||
</intro>
|
||||
<skip>
|
||||
<question>Do you want to do the Local Git setup manually yourself?</question>
|
||||
<consequence>Make sure you have correctly setup your repository before processing.</consequence>
|
||||
<donotclose>Do not close this window please.</donotclose>
|
||||
<wait>When you're ready, press any key to continue...</wait>
|
||||
</skip>
|
||||
<process>
|
||||
<path>Please give the full path of your CodeCombat git repository: </path>
|
||||
<checkout>Please enter the full path where you want to install your CodeCombat environment</checkout>
|
||||
<bashi>This installation requires Git Bash.</bashi>
|
||||
<bashp64>Git bash is by default installed at 'C:\Program Files (x86)\Git'.</bashp64>
|
||||
<bashp32>Git bash is by default installed at 'C:\Program Files\Git'.</bashp32>
|
||||
<bashq>Please enter the full path where git bash is installed or just press enter if it's in the default location</bashq>
|
||||
<ssh>Do you want to checkout the repository via ssh?</ssh>
|
||||
</process>
|
||||
<config>
|
||||
<intro>You should have forked CodeCombat to your own GitHub Account by now...</intro>
|
||||
<info>Please enter your github information, to configure your local repository.</info>
|
||||
<username>Username: </username>
|
||||
<password>Password: </password>
|
||||
<process>Thank you... Configuring your local repistory right now...</process>
|
||||
</config>
|
||||
</github>
|
||||
<switch>
|
||||
<install>The installation of your local environment was succesfull!</install>
|
||||
<close>You can now close this setup.</close>
|
||||
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
|
||||
</switch>
|
||||
<npm>
|
||||
<install>Installing bower, brunch, nodemon and sendwithus...</install>
|
||||
<binstall>Installing bower packages...</binstall>
|
||||
<sass>Installing sass...</sass>
|
||||
<npm>Installing npm...</npm>
|
||||
<brnch>Starting brunch....</brnch>
|
||||
<mongodb>Setting up a MongoDB database for you...</mongodb>
|
||||
<db>Downloading the last version of the CodeCombat database...</db>
|
||||
<script>Preparing the automatic startup script for you...</script>
|
||||
<close>Don't close!</close>
|
||||
</npm>
|
||||
<error>
|
||||
<path>That path already exists, are you sure you want to overwrite it?</path>
|
||||
<exist>That path doesn't exist. Please try again...</exist>
|
||||
</error>
|
||||
<end>
|
||||
<succesfull>The setup of the CodeCombat Dev. Environment was succesfull.</succesfull>
|
||||
<thankyou>Thank you already for your contribution and see you soon.</thankyou>
|
||||
<readme>Do you want to read the README for more information?</readme>
|
||||
</end>
|
||||
<start>
|
||||
<s1>From now on you can start the dev. environment at</s1>
|
||||
<s2>the touch of a single mouse click.</s2>
|
||||
<s3> 1) Just double click</s3>
|
||||
<s4> and let the environment start up.</s4>
|
||||
<s5> 2) Now just open 'localhost:3000' in your prefered browser.</s5>
|
||||
<s6>That's it, you're now ready to start working on CodeCombat!</s6>
|
||||
</start>
|
||||
</variables>
|
|
@ -1,5 +0,0 @@
|
|||
set /p res="%1 [Y/N]: "
|
||||
set "result=unset"
|
||||
if "%res%"=="Y" (set "result=true")
|
||||
if "%res%"=="y" (set "result=true")
|
||||
if "%result%"=="unset" (set "result=false")
|
|
@ -1,47 +0,0 @@
|
|||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
call read_cache
|
||||
|
||||
call configuration_cmd
|
||||
|
||||
call npm_and_brunch_setup
|
||||
|
||||
call print_finished_header
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text end_succesfull end succesfull
|
||||
call get_local_text end_thankyou end thankyou
|
||||
echo %end_succesfull%
|
||||
echo %end_thankyou%
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text start_s1 start s1
|
||||
call get_local_text start_s2 start s2
|
||||
call get_local_text start_s3 start s3
|
||||
call get_local_text start_s4 start s4
|
||||
call get_local_text start_s5 start s5
|
||||
call get_local_text start_s6 start s6
|
||||
|
||||
echo !start_s1!
|
||||
echo !start_s2!
|
||||
echo.
|
||||
echo !start_s3! '!repository_path!\coco\SCOCODE.bat'
|
||||
echo !start_s4!
|
||||
echo !start_s5!
|
||||
echo.
|
||||
echo !start_s6!
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text end_readme end readme
|
||||
call ask_question "!end_readme!"
|
||||
|
||||
if "%result%"=="true" (
|
||||
call open_readme
|
||||
)
|
||||
|
||||
exit
|
||||
|
||||
endlocal
|
|
@ -1,4 +0,0 @@
|
|||
Color 0A
|
||||
mode con: cols=79 lines=55
|
||||
|
||||
TITLE CodeCombat.com - Development Environment Installation
|
|
@ -1,141 +0,0 @@
|
|||
<<<<<<< HEAD
|
||||
set "temp_directory=c:\.coco\"
|
||||
set "curl_app=..\utilities\curl.exe"
|
||||
set "zu_app=..\utilities\7za.exe"
|
||||
|
||||
if NOT exist "%temp_directory%" (
|
||||
md %temp_directory%
|
||||
)
|
||||
|
||||
call get_local_text install_process_prefix install process prefix
|
||||
call get_local_text install_process_sufix install process sufix
|
||||
|
||||
call ask_question "!install_process_prefix! %1 !install_process_sufix!"
|
||||
|
||||
if "%result%"=="true" (
|
||||
goto:exit_installation
|
||||
)
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_extension %2 download_extension
|
||||
call get_local_text install_process_downloading install process downloading
|
||||
echo %1 !install_process_downloading!
|
||||
set "install_file=!temp_directory!%1.!download_extension!"
|
||||
%curl_app% -k %2 -o !install_file!
|
||||
|
||||
if "%download_extension%"=="zip" (
|
||||
set "package_path=!temp_directory!%1\"
|
||||
|
||||
%zu_app% x !install_file! -o!package_path! -y
|
||||
|
||||
for /f "delims=" %%a in ('dir !package_path! /on /ad /b') do @set mongodb_original_directory=%%a
|
||||
|
||||
call print_dashed_seperator
|
||||
goto:get_mongodb_path
|
||||
|
||||
:get_mongodb_path
|
||||
call get_local_text install_process_mongodbpath install process mongodbpath
|
||||
set /p "mongodb_path=!install_process_mongodbpath!: "
|
||||
if exist "%mongodb_path%" (
|
||||
call get_local_text error_path error path
|
||||
call ask_question "!error_path!"
|
||||
if "!result!"=="false" (
|
||||
call print_dashed_seperator
|
||||
goto:get_mongodb_path
|
||||
) else (
|
||||
rmdir /s /q %mongodb_path%
|
||||
)
|
||||
)
|
||||
md %mongodb_path%
|
||||
|
||||
%systemroot%\System32\xcopy !package_path!!mongodb_original_directory! !mongodb_path! /r /h /s /e /y
|
||||
goto:clean_up
|
||||
)
|
||||
|
||||
call get_local_text install_process_installing install process installing
|
||||
echo %1 !install_process_installing!
|
||||
echo.
|
||||
start /WAIT !install_file!
|
||||
goto:clean_up
|
||||
|
||||
:clean_up
|
||||
call get_local_text install_process_cleaning install process cleaning
|
||||
echo %1 !install_process_cleaning!
|
||||
rmdir /s /q "!temp_directory!"
|
||||
goto:exit_installation
|
||||
|
||||
:exit_installation
|
||||
=======
|
||||
set "temp_directory=c:\.coco\"
|
||||
set "curl_app=..\utilities\curl.exe"
|
||||
set "zu_app=..\utilities\7za.exe"
|
||||
|
||||
if NOT exist "%temp_directory%" (
|
||||
md %temp_directory%
|
||||
)
|
||||
|
||||
call get_local_text install_process_prefix install process prefix
|
||||
call get_local_text install_process_sufix install process sufix
|
||||
|
||||
call ask_question "!install_process_prefix! %1 !install_process_sufix!"
|
||||
|
||||
if "%result%"=="true" (
|
||||
goto:exit_installation
|
||||
)
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_extension %2 download_extension
|
||||
call get_local_text install_process_downloading install process downloading
|
||||
echo %1 !install_process_downloading!
|
||||
set "install_file=!temp_directory!%1.!download_extension!"
|
||||
start /wait cmd.exe /c "TITLE %1 !install_process_downloading! && %curl_app% -k -m 10800 --retry 100 -o !install_file! %2"
|
||||
|
||||
if "%download_extension%"=="zip" (
|
||||
set "package_path=!temp_directory!%1\"
|
||||
|
||||
%zu_app% x !install_file! -o!package_path! -y
|
||||
|
||||
for /f "delims=" %%a in ('dir !package_path! /on /ad /b') do @set mongodb_original_directory=%%a
|
||||
|
||||
call print_dashed_seperator
|
||||
goto:get_mongodb_path
|
||||
|
||||
:get_mongodb_path
|
||||
call get_local_text install_process_mongodbpath install process mongodbpath
|
||||
set /p "mongodb_path=!install_process_mongodbpath!: "
|
||||
if exist "%mongodb_path%" (
|
||||
call get_local_text error_path error path
|
||||
call ask_question "!error_path!"
|
||||
if "!result!"=="false" (
|
||||
call print_dashed_seperator
|
||||
goto:get_mongodb_path
|
||||
) else (
|
||||
rmdir /s /q %mongodb_path%
|
||||
)
|
||||
)
|
||||
md %mongodb_path%
|
||||
|
||||
%systemroot%\System32\xcopy !package_path!!mongodb_original_directory! !mongodb_path! /r /h /s /e /y
|
||||
|
||||
call set_environment_var "!mongodb_path!\bin"
|
||||
|
||||
goto:clean_up
|
||||
)
|
||||
|
||||
call get_local_text install_process_installing install process installing
|
||||
echo %1 !install_process_installing!
|
||||
echo.
|
||||
start /WAIT !install_file!
|
||||
goto:clean_up
|
||||
|
||||
:clean_up
|
||||
call get_local_text install_process_cleaning install process cleaning
|
||||
echo %1 !install_process_cleaning!
|
||||
rmdir /s /q "!temp_directory!"
|
||||
goto:exit_installation
|
||||
|
||||
:exit_installation
|
||||
>>>>>>> 072729acc34123c42250d361955438cfd8c210d7
|
||||
call print_dashed_seperator
|
|
@ -1,54 +0,0 @@
|
|||
call print_install_header
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text install_process_sks install process sks
|
||||
echo !install_process_sks!
|
||||
|
||||
call get_local_text install_process_skq install process skq
|
||||
call ask_question "!install_process_skq!"
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
if "%result%"=="true" (
|
||||
call get_local_text install_process_skc install process skc
|
||||
echo !install_process_skc!
|
||||
call print_dashed_seperator
|
||||
goto:exit_setup
|
||||
)
|
||||
|
||||
call get_system_information
|
||||
call print_dashed_seperator
|
||||
|
||||
if %system_info_os% == XP (
|
||||
call get_local_text install_system_xp install system xp
|
||||
echo !install_system_xp!
|
||||
call print_exit
|
||||
)
|
||||
|
||||
call get_variables ..\\config\\downloads.coco downloads download_names downloads_count 0 general general
|
||||
call get_variables ..\\config\\downloads.coco downloads download_names downloads_count 2 %system_info_os% b%system_info_bit%
|
||||
call get_variables ..\\config\\downloads.coco downloads download_names downloads_count 3 general b%system_info_bit%
|
||||
|
||||
call get_local_text install_process_s1 install process s1
|
||||
call get_local_text install_process_s2 install process s2
|
||||
call get_local_text install_process_s3 install process s3
|
||||
call get_local_text install_process_s4 install process s4
|
||||
call get_local_text install_process_winpath install process winpath
|
||||
|
||||
echo !install_process_s1!
|
||||
echo !install_process_s2!
|
||||
echo !install_process_s3!
|
||||
echo.
|
||||
echo !install_process_s4!
|
||||
echo.
|
||||
echo !install_process_winpath!
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
for /l %%i in (1, 1, !downloads_count!) do (
|
||||
call download_and_install_app !download_names[%%i]! !downloads[%%i]!
|
||||
)
|
||||
|
||||
goto:exit_setup
|
||||
|
||||
:exit_setup
|
|
@ -1,6 +0,0 @@
|
|||
set "file=%1"
|
||||
set /a %3=0
|
||||
for /F "usebackq delims=" %%a in ("%file%") do (
|
||||
set /A %3+=1
|
||||
call set %2[%%%3%%]=%%a
|
||||
)
|
|
@ -1,3 +0,0 @@
|
|||
for /F "delims=" %%F in ('call run_script .\\get_var.ps1 ..\\config\\cache.coco %1') do (
|
||||
set "%1=%%F"
|
||||
)
|
|
@ -1,3 +0,0 @@
|
|||
for /f "delims=" %%a in ('..\\utilities\\get_category.exe %*') do (
|
||||
%%a
|
||||
)
|
|
@ -1,3 +0,0 @@
|
|||
for /F "delims=" %%F in ('call run_script .\\get_var.ps1 ..\\config\\config.coco %1') do (
|
||||
set "%1=%%F"
|
||||
)
|
|
@ -1,3 +0,0 @@
|
|||
for /F "delims=" %%F in ('call run_script .\\get_var.ps1 ..\\config\\downloads.coco %2 %3 %4 %5') do (
|
||||
set "%1=%%F"
|
||||
)
|
|
@ -1,3 +0,0 @@
|
|||
for /F "delims=" %%F in ('call run_script .\\get_extension.ps1 %1') do (
|
||||
set "%2=%%F"
|
||||
)
|
|
@ -1,18 +0,0 @@
|
|||
$url = ($args[0].ToLower())
|
||||
|
||||
if($url.Contains("zip"))
|
||||
{
|
||||
Write-Host "zip"
|
||||
}
|
||||
elseif($url.Contains("exe"))
|
||||
{
|
||||
Write-Host "exe"
|
||||
}
|
||||
elseif($url.Contains("msi"))
|
||||
{
|
||||
Write-Host "msi"
|
||||
}
|
||||
elseif($url.Contains("tar.gz"))
|
||||
{
|
||||
Write-Host "tar.gz"
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
echo Some feedback is sent in your system's language
|
||||
echo but most feedback is sent and localised by us.
|
||||
echo Here is a list of languages:
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_array ..\\localization\\languages.coco languages language_count
|
||||
for /l %%i in (1,1,%language_count%) do (
|
||||
call get_text !languages[%%i]! global_description global description
|
||||
echo [%%i] !global_description!
|
||||
)
|
||||
|
||||
goto:get_localization_id
|
||||
|
||||
:get_localization_id
|
||||
call print_dashed_seperator
|
||||
set /p "localization_id=Enter the language ID of your preference and press <ENTER>: "
|
||||
goto:validation_check
|
||||
|
||||
:validation_check
|
||||
set "localization_is_false="
|
||||
set /a local_id = %localization_id%
|
||||
if !local_id! EQU 0 set localization_is_false=1
|
||||
if !local_id! LSS 1 set localization_is_false=1
|
||||
if !local_id! GTR !language_count! set localization_is_false=1
|
||||
if defined localization_is_false (
|
||||
echo The id you entered is invalid, please try again...
|
||||
goto:get_localization_id
|
||||
) else (
|
||||
set language_id=!languages[%local_id%]!
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text language_choosen language choosen
|
||||
echo !language_choosen!
|
||||
|
||||
call get_local_text language_feedback language feedback
|
||||
echo !language_feedback!
|
||||
|
||||
call print_seperator
|
||||
)
|
|
@ -1 +0,0 @@
|
|||
call get_text %language_id% %1 %2 %3 %4 %5
|
|
@ -1,10 +0,0 @@
|
|||
goto:get_safe_path
|
||||
|
||||
:get_safe_path
|
||||
set /p "tmp_safe_path=%1"
|
||||
if not exist "%tmp_safe_path%" (
|
||||
call get_local_text error-exist
|
||||
echo !error_exist!
|
||||
call print_dashed_seperator
|
||||
goto:get_safe_path
|
||||
)
|
|
@ -1,29 +0,0 @@
|
|||
if exist "%PROGRAMFILES(X86)%" (
|
||||
call:set_bit 64
|
||||
) else (
|
||||
call:set_bit 32
|
||||
)
|
||||
|
||||
for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j
|
||||
if "%version%" == "5.2" ( call:set_os XP )
|
||||
if "%version%" == "6.0" ( call:set_os Vista )
|
||||
if "%version%" == "6.1" ( call:set_os Win7 )
|
||||
if "%version%" == "6.2" ( call:set_os Win8 )
|
||||
if "%version%" == "6.3" ( call:set_os Win8 )
|
||||
|
||||
goto:end
|
||||
|
||||
:set_bit
|
||||
call get_local_text install_system_bit install system bit
|
||||
set system_info_bit=%~1
|
||||
echo %system_info_bit%%install_system_bit%
|
||||
goto:eof
|
||||
|
||||
:set_os
|
||||
set system_info_os=%~1
|
||||
call get_local_text install_system_prefix install system prefix
|
||||
call get_local_text install_system_sufix install system sufix
|
||||
echo %install_system_prefix% %system_info_os% %install_system_sufix%
|
||||
goto:eof
|
||||
|
||||
:end
|
|
@ -1,3 +0,0 @@
|
|||
for /F "delims=" %%F in ('call run_script .\\get_var.ps1 ..\\localization\\%1.coco %3 %4 %5 %6') do (
|
||||
set "%2=%%F"
|
||||
)
|
|
@ -1,27 +0,0 @@
|
|||
$xml_file = [xml](get-content $args[0])
|
||||
if($args.count -eq 2)
|
||||
{
|
||||
$var_output = ($xml_file.variables.($args[1]))
|
||||
}
|
||||
elseif($args.count -eq 3)
|
||||
{
|
||||
$var_output = ($xml_file.variables.($args[1]).($args[2]))
|
||||
}
|
||||
elseif($args.count -eq 4)
|
||||
{
|
||||
$var_output = ($xml_file.variables.($args[1]).($args[2]).($args[3]))
|
||||
}
|
||||
elseif($args.count -eq 5)
|
||||
{
|
||||
$var_output = ($xml_file.variables.($args[1]).($args[2]).($args[3]).($args[4]))
|
||||
}
|
||||
elseif($args.count -eq 6)
|
||||
{
|
||||
$var_output = ($xml_file.variables.($args[1]).($args[2]).($args[3]).($args[4]).($args[5]))
|
||||
}
|
||||
elseif($args.count -eq 7)
|
||||
{
|
||||
$var_output = ($xml_file.variables.($args[1]).($args[2]).($args[3]).($args[4]).($args[5]).($args[6]))
|
||||
}
|
||||
|
||||
Write-Host "$var_output"
|
|
@ -1,4 +0,0 @@
|
|||
set count=0
|
||||
for /F "delims=" %%F in ('call run_script.bat .\\get_variables.ps1 %*') do (
|
||||
%%F
|
||||
)
|
|
@ -1,33 +0,0 @@
|
|||
$xml_file = [xml](get-content $args[0])
|
||||
$arr_value = $args[1]
|
||||
$arr_name = $args[2]
|
||||
$arr_counter = $args[3]
|
||||
$counter = $args[4]
|
||||
|
||||
if($args.count -eq 6)
|
||||
{
|
||||
$root = $xml_file.variables.($args[5])
|
||||
}
|
||||
elseif($args.count -eq 7)
|
||||
{
|
||||
$root = $xml_file.variables.($args[5]).($args[6])
|
||||
}
|
||||
elseif($args.count -eq 8)
|
||||
{
|
||||
$root = $xml_file.variables.($args[5]).($args[6]).($args[7])
|
||||
}
|
||||
elseif($args.count -eq 9)
|
||||
{
|
||||
$nodes = $xml_file.variables.($args[5]).($args[6]).($args[7]).($args[8])
|
||||
}
|
||||
|
||||
foreach ($node in $root.ChildNodes)
|
||||
{
|
||||
$counter += 1
|
||||
$value = $node.InnerText
|
||||
$name = $node.Name
|
||||
Write-Host set "$arr_value[$counter]=$value"
|
||||
Write-Host set "$arr_name[$counter]=$name"
|
||||
}
|
||||
|
||||
Write-Host set "$arr_counter=$counter"
|
|
@ -1,149 +0,0 @@
|
|||
call print_github_header
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text github_intro_opensource github intro opensource
|
||||
call get_local_text github_intro_online github intro online
|
||||
call get_local_text github_intro_manual github intro manual
|
||||
call get_local_text github_intro_norec github intro norec
|
||||
|
||||
echo !github_intro_opensource!
|
||||
echo !github_intro_online!
|
||||
echo !github_intro_manual!
|
||||
echo !github_intro_norec!
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text github_skip_question github skip question
|
||||
call ask_question "!github_skip_question!"
|
||||
call print_dashed_seperator
|
||||
|
||||
if "%result%"=="true" (
|
||||
call get_local_text github_skip_consequence github skip consequence
|
||||
echo !github_skip_consequence!
|
||||
|
||||
call get_local_text github_skip_donotclose github skip donotclose
|
||||
echo !github_skip_donotclose!
|
||||
|
||||
call get_local_text github_skip_wait github skip wait
|
||||
set /p "github_skip_wait=!github_skip_wait!"
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text github_process_path github process path
|
||||
call get_path_safe "!github_process_path!"
|
||||
set "repository_path=!tmp_safe_path!"
|
||||
|
||||
goto:exit_git_setup
|
||||
)
|
||||
|
||||
goto:get_bash_path
|
||||
|
||||
:get_bash_path
|
||||
call get_local_text github_process_bashi github process bashi
|
||||
echo !github_process_bashi!
|
||||
|
||||
if not defined install_system_bit (
|
||||
call print_dashed_seperator
|
||||
call get_system_information
|
||||
call print_dashed_seperator
|
||||
)
|
||||
|
||||
if "%system_info_bit%"=="64" (
|
||||
call get_local_text github_process_bashp64 github process bashp64
|
||||
echo !github_process_bashp64!
|
||||
) else (
|
||||
call get_local_text github_process_bashp32 github process bashp32
|
||||
echo !github_process_bashp32!
|
||||
)
|
||||
|
||||
call get_local_text github_process_bashq github process bashq
|
||||
set /p "git_bash_path=!github_process_bashq!: "
|
||||
|
||||
if not defined git_bash_path (
|
||||
if "%system_info_bit%"=="64" (
|
||||
set "git_bash_path=C:\Program Files (x86)\Git"
|
||||
) else (
|
||||
set "git_bash_path=C:\Program Files\Git"
|
||||
)
|
||||
goto:get_git_path
|
||||
)
|
||||
|
||||
if not exist "%git_bash_path%" (
|
||||
call get_local_text error_exist error exist
|
||||
echo !error_exist!
|
||||
call print_dashed_seperator
|
||||
goto:get_bash_path
|
||||
) else (
|
||||
goto:get_git_path
|
||||
)
|
||||
goto:eof
|
||||
|
||||
:get_git_path
|
||||
call print_dashed_seperator
|
||||
call get_local_text github_process_checkout github process checkout
|
||||
set /p "repository_path=!github_process_checkout!: "
|
||||
if exist !repository_path! (
|
||||
call get_local_text error_path error path
|
||||
call ask_question "!error_path!"
|
||||
if "!result!"=="false" (
|
||||
call print_dashed_seperator
|
||||
goto:get_git_path
|
||||
) else (
|
||||
rmdir /s /q %repository_path%
|
||||
goto:git_checkout
|
||||
)
|
||||
) else (
|
||||
goto:git_checkout
|
||||
)
|
||||
goto:eof
|
||||
|
||||
:git_checkout
|
||||
md "%repository_path%"
|
||||
set "repository_path=%repository_path%"
|
||||
|
||||
call print_dashed_seperator
|
||||
set "git_app_path=%git_bash_path%\bin\git.exe"
|
||||
|
||||
call get_config github_url
|
||||
"%git_app_path%" clone "!github_url!" "%repository_path%\coco"
|
||||
|
||||
goto:git_configuration
|
||||
goto:eof
|
||||
|
||||
:git_configuration
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text github_config_intro github config intro
|
||||
echo !github_config_intro!
|
||||
|
||||
call get_local_text github_config_info github config info
|
||||
echo !github_config_info!
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text github_config_username github config username
|
||||
set /p "git_username=!github_config_username!"
|
||||
|
||||
call get_local_text github_config_password github config password
|
||||
|
||||
set /p "git_password=!github_config_password!"
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text github_config_process github config process
|
||||
echo !github_config_process!
|
||||
|
||||
set cur_dir=%CD%
|
||||
cd !repository_path!\coco
|
||||
|
||||
"%git_app_path%" remote rm origin
|
||||
"%git_app_path%" remote add origin https://!git_username!:!git_password!@github.com/!git_username!/codecombat.git
|
||||
|
||||
cd !cur_dir!
|
||||
|
||||
goto:exit_git_setup
|
||||
goto:eof
|
||||
|
||||
:exit_git_setup
|
||||
call print_dashed_seperator
|
||||
goto:eof
|
|
@ -1,9 +0,0 @@
|
|||
call print_dashed_seperator
|
||||
call get_local_text npm_script npm script
|
||||
echo %npm_script%
|
||||
|
||||
echo call npm update>%~1\SCOCODE.bat
|
||||
echo call bower update>%~1\SCOCODE.bat
|
||||
echo start cmd.exe cmd /c "TITLE CodeCombat.com - mongodb database & mongod --setParameter --dbpath %~2">%~1\SCOCODE.bat
|
||||
echo start cmd.exe cmd /c "TITLE CodeCombat.com - nodemon server & nodemon index.js">>%~1\SCOCODE.bat
|
||||
echo start cmd.exe cmd /c "TITLE CodeCombat.com - brunch - live compiler & brunch w">>%~1\SCOCODE.bat
|
|
@ -1,7 +0,0 @@
|
|||
call print_dashed_seperator
|
||||
call get_local_text npm_binstall npm binstall
|
||||
echo %npm_binstall%
|
||||
|
||||
cd /D %~1
|
||||
start /wait cmd /c "echo %npm_binstall% & bower cache clean & bower install"
|
||||
cd /D %work_directory%
|
|
@ -1,37 +0,0 @@
|
|||
call print_dashed_seperator
|
||||
call get_local_text npm_mongodb npm mongodb
|
||||
echo %npm_mongodb%
|
||||
|
||||
if exist %~1 (
|
||||
rmdir /s /q %~1
|
||||
)
|
||||
|
||||
md %~1
|
||||
|
||||
call print_dashed_seperator
|
||||
call get_local_text npm_db npm db
|
||||
echo %npm_db%
|
||||
|
||||
call get_config database_backup
|
||||
|
||||
call get_local_text npm_close npm close
|
||||
|
||||
cd /D %~1
|
||||
|
||||
start cmd /c "TITLE MongoDB - %npm_close% & mongod --setParameter textSearchEnabled=true --dbpath %~1"
|
||||
|
||||
start /wait cmd.exe /c "TITLE downloading database backup... && %work_directory%\%curl_app% -k -m 10800 --retry 100 -o dump.tar.gz %database_backup%"
|
||||
|
||||
start /wait cmd /c "%work_directory%\%zu_app% e dump.tar.gz && del dump.tar.gz && %work_directory%\%zu_app% x dump.tar && del dump.tar"
|
||||
|
||||
start /wait cmd /c "mongorestore dump"
|
||||
|
||||
rmdir /s /q dump
|
||||
|
||||
call %work_directory%\print_dashed_seperator
|
||||
|
||||
taskkill /F /fi "IMAGENAME eq mongod.exe"
|
||||
|
||||
del /F %~1\mongod.lock
|
||||
|
||||
cd /D %work_directory%
|
|
@ -1,6 +0,0 @@
|
|||
call get_local_text npm_install npm install
|
||||
echo %npm_install%
|
||||
|
||||
cd /D %~1
|
||||
start /wait cmd /c "echo %npm_install% & npm install -g bower brunch nodemon sendwithus"
|
||||
cd /D %work_directory%
|
|
@ -1,7 +0,0 @@
|
|||
call print_dashed_seperator
|
||||
call get_local_text npm_npm npm npm
|
||||
echo %npm_npm%
|
||||
|
||||
cd /D %~1
|
||||
start /wait cmd /c "echo %npm_npm% & npm install"
|
||||
cd /D %work_directory%
|
|
@ -1,7 +0,0 @@
|
|||
call print_dashed_seperator
|
||||
call get_local_text npm_sass npm sass
|
||||
echo %npm_sass%
|
||||
|
||||
cd /D %~1
|
||||
start /wait cmd /c "echo %npm_sass% & gem install sass"
|
||||
cd /D %work_directory%
|
|
@ -1,24 +0,0 @@
|
|||
call print_npm_and_brunch_header
|
||||
call print_dashed_seperator
|
||||
|
||||
set work_directory=%CD%
|
||||
|
||||
set "curl_app=..\utilities\curl.exe"
|
||||
set "zu_app=..\utilities\7za.exe"
|
||||
|
||||
set coco_root=%repository_path%\coco
|
||||
set coco_db=%repository_path%\cocodb
|
||||
|
||||
call nab_install_npm %coco_root%
|
||||
|
||||
call nab_install_bower %coco_root%
|
||||
|
||||
call nab_install_sass %coco_root%
|
||||
|
||||
call nab_install_npm_all %coco_root%
|
||||
|
||||
call nab_install_mongodb %coco_db%
|
||||
|
||||
call nab_automatic_script.bat %coco_root% %coco_db%
|
||||
|
||||
call print_dashed_seperator
|
|
@ -1,6 +0,0 @@
|
|||
set "LFTP=%1-%language_id%.coco"
|
||||
if not exist "%LFTP%" (
|
||||
call open_text_file %1.coco
|
||||
) else (
|
||||
call open_text_file %LFTP%
|
||||
)
|
|
@ -1 +0,0 @@
|
|||
call open_localized_text_file ..\\config\\localized\\readme
|
|
@ -1 +0,0 @@
|
|||
start notepad.exe %1
|
|
@ -1,3 +0,0 @@
|
|||
echo.
|
||||
echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
echo.
|
|
@ -1,3 +0,0 @@
|
|||
call get_local_text global_exit global exit
|
||||
set /p res="%global_exit%"
|
||||
exit
|
|
@ -1,4 +0,0 @@
|
|||
set "file=%1"
|
||||
for /f "usebackq tokens=* delims=;" %%a in ("%file%") do (
|
||||
echo.%%a
|
||||
)
|
|
@ -1 +0,0 @@
|
|||
call print_file ..\\config\\finished_header.coco
|
|
@ -1 +0,0 @@
|
|||
call print_file ..\\config\\github_header.coco
|
|
@ -1 +0,0 @@
|
|||
call print_file ..\\config\\header.coco
|
|
@ -1 +0,0 @@
|
|||
print_file ..\\config\\info.coco
|
|
@ -1 +0,0 @@
|
|||
call print_file ..\\config\\install_header.coco
|
|
@ -1 +0,0 @@
|
|||
call print_localized_file ..\\config\\localized\\license
|
|
@ -1,6 +0,0 @@
|
|||
set "LFTP=%1-%language_id%.coco"
|
||||
if not exist "%LFTP%" (
|
||||
call print_file %1.coco
|
||||
) else (
|
||||
call print_file %LFTP%
|
||||
)
|
|
@ -1 +0,0 @@
|
|||
call print_file ..\\config\\npm_and_brunch_header.coco
|
|
@ -1,3 +0,0 @@
|
|||
echo.
|
||||
echo -------------------------------------------------------------------------------
|
||||
echo.
|
|
@ -1 +0,0 @@
|
|||
call print_localized_file ..\\config\\localized\\tips
|
|
@ -1,2 +0,0 @@
|
|||
call get_cache_var language_id
|
||||
call get_cache_var repository_path
|
|
@ -1,2 +0,0 @@
|
|||
@echo off
|
||||
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& "%*"
|
|
@ -1 +0,0 @@
|
|||
setx path ";%~1"
|
|
@ -1,29 +0,0 @@
|
|||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
call configuration_cmd
|
||||
|
||||
call print_header
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_config.bat version
|
||||
call get_config.bat author
|
||||
call get_config.bat copyright
|
||||
echo Welcome to the automated Installation of the CodeCombat Dev. Environment!
|
||||
echo v%version% authored by %author% and published by %copyright%.
|
||||
call print_seperator
|
||||
|
||||
call get_language
|
||||
|
||||
call get_local_text global_tips global tips
|
||||
echo !global_tips!
|
||||
call print_tips
|
||||
call print_seperator
|
||||
|
||||
call sign_license
|
||||
|
||||
call download_and_install_applications
|
||||
|
||||
start cmd /c "setup_p2.bat"
|
||||
|
||||
endlocal
|
|
@ -1,20 +0,0 @@
|
|||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
call configuration_cmd
|
||||
|
||||
call github_setup
|
||||
|
||||
call write_cache
|
||||
|
||||
call get_local_text switch_install switch install
|
||||
call get_local_text switch_close switch close
|
||||
call get_local_text switch_open switch open
|
||||
|
||||
echo %switch_install%
|
||||
echo %switch_close%
|
||||
echo.
|
||||
|
||||
set /p "dummy=%switch_open%"
|
||||
|
||||
endlocal
|
|
@ -1,27 +0,0 @@
|
|||
call get_local_text license_s1 license s1
|
||||
echo !license_s1!
|
||||
|
||||
call get_local_text license_s2 license s2
|
||||
echo !license_s2!
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call print_license
|
||||
call print_dashed_seperator
|
||||
|
||||
call get_local_text license_q1 license q1
|
||||
call ask_question "%license_q1%"
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
if "%result%"=="false" (
|
||||
call get_local_text license_a1 license a1
|
||||
echo !license_a1!
|
||||
|
||||
call get_local_text license_a2 license a2
|
||||
echo !license_a2!
|
||||
|
||||
echo.
|
||||
|
||||
call print_exit
|
||||
)
|
|
@ -1,10 +0,0 @@
|
|||
set "cache=..\\config\\cache.coco"
|
||||
|
||||
echo ^<?xml version="1.0" encoding="ISO-8859-1" ?^>>%cache%
|
||||
|
||||
echo ^<variables^>>>%cache%
|
||||
|
||||
echo ^<language_id^>%language_id%^</language_id^>>>%cache%
|
||||
echo ^<repository_path^>%repository_path%^</repository_path^>>>%cache%
|
||||
|
||||
echo ^</variables^>>>%cache%
|
|
@ -1,2 +0,0 @@
|
|||
cd scripts
|
||||
setup.bat
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue