2018-05-12 09:52:47 +00:00
|
|
|
|
::<3A><>װChocolate
|
|
|
|
|
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
|
|
|
|
|
|
|
|
|
|
::<3A><>װAnaconda
|
2018-08-12 15:13:32 +00:00
|
|
|
|
choco install anaconda2 --version 5.2.0 --x86 -y --ignorechecksum --params="'/AddToPath=1'"
|
2018-05-12 09:52:47 +00:00
|
|
|
|
setx PATH "%PATH%;C:\Program Files\Anaconda2\;C:\Program Files\Anaconda2\Scripts\"
|
|
|
|
|
|
|
|
|
|
::<3A><>װVC Redist
|
|
|
|
|
choco install vcredist2013 --x86 -y
|
|
|
|
|
|
|
|
|
|
::<3A><>װMongoDB
|
|
|
|
|
choco install mongodb -y
|
|
|
|
|
|
|
|
|
|
::<3A><>װGit
|
|
|
|
|
choco install git -y
|
|
|
|
|
|
|
|
|
|
::<3A><><EFBFBD><EFBFBD>vn.py
|
|
|
|
|
call refreshenv
|
|
|
|
|
cd c:\
|
|
|
|
|
git clone "https://github.com/vnpy/vnpy.git"
|
|
|
|
|
|
|
|
|
|
::ע<><D7A2>MongoDBΪϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>
|
|
|
|
|
cd vnpy
|
|
|
|
|
git checkout dev
|
|
|
|
|
|
|
|
|
|
mkdir c:\data\db
|
|
|
|
|
mkdir c:\data\log
|
|
|
|
|
|
|
|
|
|
"C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe" --config "C:\vnpy\mongod.cfg" --install
|
|
|
|
|
net start MongoDB
|
|
|
|
|
|
|
|
|
|
::<3A><>װvn.py
|
|
|
|
|
start /wait install.bat
|