7238fcd0f3
* Refactor and hotfix run script Removed dependency on `realpath`, notably absent from macOS and some debian distros. Replaced with an equivalent bash function. Cleaned up prompt response handling, replaced var tests with param expressions. Removed potentially uneeded calls to sudo (again absent on some systems and most users are part of the docker group anyway). Instead, test if it's needed and get preauth with sudo -v. Poll for running and stopped Lean containers, and prompt before replacing them. Would fail prior. Uppercased variabled. Sorry. * Revert docker output redirection to stderr * Adjustments to maintain all functionality * Mimic behavior across run scripts * Update readme to reflect Docker script changes * Ignore results storage * Correct print statement * Mirror changes on research docker scripts * Make executable * Handle already running container and sudo privs * Fix for issues found in testing * Address Review * Small adjustments found in linux testing * Doc improvement * Add auto update option for Docker images * Fix image var reference Co-authored-by: Peter Kazazes <peter@peterk.co>
276 lines
3.7 KiB
Plaintext
276 lines
3.7 KiB
Plaintext
# Object files
|
|
*.o
|
|
*.ko
|
|
*.obj
|
|
*.elf
|
|
*.pyc
|
|
|
|
# Visual Studio Project Items:
|
|
*.suo
|
|
|
|
# Precompiled Headers
|
|
*.gch
|
|
*.pch
|
|
|
|
# Libraries
|
|
*.lib
|
|
*.a
|
|
*.la
|
|
*.lo
|
|
|
|
# Shared objects (inc. Windows DLLs)
|
|
#*.dll
|
|
*.so
|
|
*.so.*
|
|
*.dylib
|
|
|
|
# Executables
|
|
*/bin/*.exe
|
|
*.out
|
|
*.app
|
|
*.i*86
|
|
*.x86_64
|
|
*.hex
|
|
|
|
# QC Cloud Setup Bash Files
|
|
*.sh
|
|
# Include docker launch scripts for Mac/Linux
|
|
!run_docker.sh
|
|
!research/run_docker_notebook.sh
|
|
|
|
# QC Config Files:
|
|
# config.json
|
|
|
|
# QC-C-Specific
|
|
*Engine/bin/Debug/cache/data/*.zip
|
|
*/obj/*
|
|
*/bin/*
|
|
*Data/*
|
|
*Docker/*
|
|
*/Docker/*
|
|
*Algorithm.Python/Lib/*
|
|
*/[Ee]xtensions/*
|
|
!**/Libraries/*
|
|
|
|
# C Debug Binaries
|
|
*.pdb
|
|
|
|
## Ignore Visual Studio temporary files, build results, and
|
|
## files generated by popular Visual Studio add-ons.
|
|
|
|
# User-specific files
|
|
*.suo
|
|
*.user
|
|
*.userosscache
|
|
*.sln.docstates
|
|
*.userprefs
|
|
|
|
# Build results
|
|
[Dd]ebug/
|
|
[Dd]ebugPublic/
|
|
[Rr]elease/
|
|
[Rr]eleases/
|
|
x64/
|
|
x86/
|
|
.vs/
|
|
build/
|
|
bld/
|
|
[Bb]in/
|
|
[Oo]bj/
|
|
|
|
# Roslyn cache directories
|
|
*.ide/
|
|
|
|
# MSTest test Results
|
|
[Tt]est[Rr]esult*/
|
|
[Bb]uild[Ll]og.*
|
|
|
|
#NUNIT
|
|
*.VisualState.xml
|
|
TestResult.xml
|
|
|
|
# Build Results of an ATL Project
|
|
[Dd]ebugPS/
|
|
[Rr]eleasePS/
|
|
dlldata.c
|
|
|
|
*_i.c
|
|
*_p.c
|
|
*_i.h
|
|
*.ilk
|
|
*.meta
|
|
*.obj
|
|
*.pch
|
|
*.pdb
|
|
*.pgc
|
|
*.pgd
|
|
*.rsp
|
|
*.sbr
|
|
*.tlb
|
|
*.tli
|
|
*.tlh
|
|
*.tmp
|
|
*.tmp_proj
|
|
*.log
|
|
*.vspscc
|
|
*.vssscc
|
|
.builds
|
|
*.pidb
|
|
*.svclog
|
|
*.scc
|
|
|
|
# Chutzpah Test files
|
|
_Chutzpah*
|
|
|
|
# Visual C++ cache files
|
|
ipch/
|
|
*.aps
|
|
*.ncb
|
|
*.opensdf
|
|
*.sdf
|
|
*.cachefile
|
|
|
|
# Visual Studio profiler
|
|
*.psess
|
|
*.vsp
|
|
*.vspx
|
|
|
|
# TFS 2012 Local Workspace
|
|
$tf/
|
|
|
|
# Guidance Automation Toolkit
|
|
*.gpState
|
|
|
|
# ReSharper is a .NET coding add-in
|
|
_ReSharper*/
|
|
*.[Rr]e[Ss]harper
|
|
*.DotSettings.user
|
|
|
|
# JustCode is a .NET coding addin-in
|
|
.JustCode
|
|
|
|
# TeamCity is a build add-in
|
|
_TeamCity*
|
|
|
|
# DotCover is a Code Coverage Tool
|
|
*.dotCover
|
|
|
|
# NCrunch
|
|
_NCrunch_*
|
|
.*crunch*.local.xml
|
|
|
|
# MightyMoose
|
|
*.mm.*
|
|
AutoTest.Net/
|
|
|
|
# Web workbench (sass)
|
|
.sass-cache/
|
|
|
|
# Installshield output folder
|
|
[Ee]xpress/
|
|
|
|
# JetBrains Rider
|
|
.idea/
|
|
|
|
# DocProject is a documentation generator add-in
|
|
DocProject/buildhelp/
|
|
DocProject/Help/*.HxT
|
|
DocProject/Help/*.HxC
|
|
DocProject/Help/*.hhc
|
|
DocProject/Help/*.hhk
|
|
DocProject/Help/*.hhp
|
|
DocProject/Help/Html2
|
|
DocProject/Help/html
|
|
|
|
# Click-Once directory
|
|
publish/
|
|
|
|
# Publish Web Output
|
|
*.[Pp]ublish.xml
|
|
*.azurePubxml
|
|
# TODO: Comment the next line if you want to checkin your web deploy settings
|
|
# but database connection strings (with potential passwords) will be unencrypted
|
|
*.pubxml
|
|
*.publishproj
|
|
|
|
# NuGet Packages
|
|
*.nupkg
|
|
# The packages folder can be ignored because of Package Restore
|
|
**/packages/*
|
|
# except build/, which is used as an MSBuild target.
|
|
!**/packages/build/
|
|
# If using the old MSBuild-Integrated Package Restore, uncomment this:
|
|
#!**/packages/repositories.config
|
|
# ignore sln level nuget
|
|
.nuget/
|
|
|
|
# Windows Azure Build Output
|
|
csx/
|
|
*.build.csdef
|
|
|
|
# Windows Store app package directory
|
|
AppPackages/
|
|
|
|
# Others
|
|
*.Cache
|
|
ClientBin/
|
|
[Ss]tyle[Cc]op.*
|
|
~$*
|
|
*~
|
|
*.dbmdl
|
|
*.dbproj.schemaview
|
|
*.pfx
|
|
*.publishsettings
|
|
node_modules/
|
|
bower_components/
|
|
|
|
# RIA/Silverlight projects
|
|
Generated_Code/
|
|
|
|
# Backup & report files from converting an old project file
|
|
# to a newer Visual Studio version. Backup files are not needed,
|
|
# because we have git ;-)
|
|
_UpgradeReport_Files/
|
|
Backup*/
|
|
UpgradeLog*.XML
|
|
UpgradeLog*.htm
|
|
|
|
# SQL Server files
|
|
*.mdf
|
|
*.ldf
|
|
|
|
# Business Intelligence projects
|
|
*.rdl.data
|
|
*.bim.layout
|
|
*.bim_*.settings
|
|
|
|
# Microsoft Fakes
|
|
FakesAssemblies/
|
|
|
|
# Test Runner
|
|
testrunner/
|
|
|
|
# Meld original diff files
|
|
*.orig
|
|
|
|
# Output chart data
|
|
Charts/
|
|
|
|
# NCrunch files
|
|
*.ncrunchsolution
|
|
*.ncrunchproject
|
|
|
|
# QuantConnect plugin files
|
|
QuantConnectProjects.xml
|
|
Launcher/Plugins/*
|
|
/ApiPython/dist
|
|
/ApiPython/quantconnect.egg-info
|
|
/ApiPython/quantconnect.egg-info/*
|
|
|
|
QuantConnect.Lean.sln.DotSettings*
|
|
|
|
#User notebook files
|
|
Research/Notebooks
|
|
|
|
#Docker result files
|
|
Results/ |