Comments (11)
hoavt [2:30 PM]
ma gio upgrade vagrant va virtual machine ben may win thi phai cai ca chocolatey a?
hoatle [2:36 PM]
ừ, cài lại toàn bộ đi
hoavt [2:36 PM]
x
'iwr' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>
hoavt [2:50 PM]
nos bao loi the nay, ko cai dc
[2:51]
ma sao cai doan copy nay khac voi cai doan trong video cua @hoatle nhi
hoatle [3:06 PM]
nó mới thay đổi, dùng PowerShell v3, còn dùng cmd thì bạn chọn More Install Options, nhưng dùng default option của nó trước xem chạy ok không
[3:06]
mở PowerShell lên rồi copy + paste vào
[3:07]
nó có mấy install options luôn đấy, nên dùng cái nào dễ và tiện trên Windows 7, 8, 10
hoavt [3:09 PM]
ua
hoatle [3:11 PM]
bạn xem chạy bằng Powershell ok không thì để update video + docs dùng PowerShell luôn
hoavt [3:12 PM]
opyright (C) 2009 Microsoft Corporation. All rights reserved.
S C:\Users\HoaVu> iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
he term 'iwr' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spellin
of the name, or if a path was included, verify that the path is correct and try again.
t line:1 char:4
iwr <<<< https://chocolatey.org/install.ps1 -UseBasicParsing | iex
+ CategoryInfo : ObjectNotFound: (iwr:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
S C:\Users\HoaVu>
hoatle [3:14 PM]
chắc PowerShell < v3 rồi, dùng cmd.exe đi với install option là Cmd.exe đấy (edited)
[3:16]
http://stackoverflow.com/questions/1825585/determine-installed-powershell-version ở windows 7 mặc định là v2
stackoverflow.com
Determine installed PowerShell version
How can I determine what version of PowerShell is installed on a computer, and indeed if it is installed at all?
[3:17]
mà option trên nó yêu cầu v3+, thế vẫn thống nhất dùng Cmd.exe nhé, trong docs bạn update lại là cần chọn đúng option này (edited)
hoavt [3:17 PM]
dang chay cai cmd
hoatle [3:18 PM]
http://dev.teracy.org/docs/develop/getting_started.html#automatic-installation-on-windows
[3:18]
Run Command Prompt as administrator and paste the Cmd.exe command copied from https://chocolatey.org/install```
[3:18]
thế này đã rõ chưa, bạn làm thế nào cho rõ hơn, đỡ bị nhầm giống bạn
[3:21]
lỗi của bạn có thể update vào FAQ nữa https://github.com/teracyhq/dev/issues/207
from dev.
Q: What should I do after updating vagrant_config_override.json
to get it applied to the VM?
A: Make sure to save the config file and you can run $ vagrant provision
first, usually this should work. If not, run $ vagrant reload --provision
.
from dev.
from dev.
when $ vagrant up
gets stuck at this step:
default: /tmp/vagrant-chef/7cb2926f81b5c74a4ca3dd163f9d9ffd/roles => /Users/hoatle/teracy-dev/workspace/teracy-dev/roles
default: /tmp/vagrant-chef/3071687433aa992e850e416aafea8f25/nodes => /Users/hoatle/teracy-dev/workspace/teracy-dev/nodes
default: /tmp/vagrant-chef/bbfefdc57119d7552b06b24069242f8a/data_bags => /Users/hoatle/teracy-dev/workspace/teracy-dev/data_bags
default: /tmp/vagrant-chef/9b5518c8fee080ca55f1c57179068e17/cookbooks => /Users/hoatle/teracy-dev/workspace/teracy-dev/vendor-cookbooks
default: /tmp/vagrant-chef/87b97d785383812081b2ec7e56be857d/cookbooks => /Users/hoatle/teracy-dev/workspace/teracy-dev/main-cookbooks
==> default: Running provisioner: chef_solo...
default: Installing Chef (latest)...
Then stop it, $ vagrant ssh
to update this http://askubuntu.com/questions/620317/apt-get-update-stuck-connecting-to-security-ubuntu-com then $ vagrant reload --provision
again.
from dev.
[2/20/17, 1:13:59 PM] Arpit Jain: Have encounter this error before?
"Expected linebreaks to be 'LF' but found 'CRLF'"
[2/20/17, 1:15:28 PM] Arpit Jain: As soon as I started making some changes in code, I am then getting this error for each line of almost every file.
[2/20/17, 1:17:35 PM] Hoat Le: please try this http://stackoverflow.com/questions/3802406/configure-visual-studio-with-unix-end-of-lines
[2/20/17, 1:18:04 PM] Hoat Le: or you can try SublimeText
[2/20/17, 1:18:15 PM] Hoat Le: > choco install SublimeText -y
[2/20/17, 1:18:54 PM] Arpit Jain: I stopped using Visual studio already and using Sublime text editor
[2/20/17, 1:19:59 PM] Hoat Le: you should use this config on the SublimeText View>Line Endings>Unix
[2/20/17, 1:20:29 PM] Arpit Jain: its already Unix
[2/20/17, 1:21:59 PM] Hoat Le: maybe this should help http://stackoverflow.com/questions/39680585/how-do-configure-sublime-to-always-convert-to-unix-line-endings-on-save
[2/20/17, 1:22:30 PM] Arpit Jain: ok give me some time
[2/20/17, 1:23:03 PM] Hoat Le: try this first mentioned on the page: "Menu > View > Line Endings or enable the setting "show_line_endings": false then on the bottom right of the status bar it will show what the current line ending is, and when you click it you can select which one to change it to."
[2/20/17, 1:26:56 PM] Arpit Jain: Ok let me try these options
[2/20/17, 1:33:12 PM] Arpit Jain: Yes that option (View>Line Endings>Unix) worked for me
[2/20/17, 1:33:17 PM] Arpit Jain: Thanks
[2/20/17, 1:33:24 PM] Hoat Le: you're welcome
from dev.
when vagrant ssh got stuck at "settings networks", then try this: #262
from dev.
many people has the problem that /etc/hosts are not properly updated when they got errors, after $ vagrant destroy and $ vagrant up.
They end up having multiple same entry that the wrong one is one the top of the file. This leads to wrong dns to point to the right VM IP. What can we do?
- check VM's ip: $ vagrant up
- $ vagrant hostmanger to make sure /etc/hosts is updated
- $ ping <the_configured_domain> to see if it pings the right VM ip from step 1.
- If it's not right, open /etc/hosts to check and remove wrong entries.
- come back to step 3 to verify.
from dev.
major change như vậy thì $ vagrant destroy rồi $ vagrant up
[12:01]
khi �thay đổi version của teracy-dev => vagrant destroy rồi up
[12:01]
khi thay đổi config của vagrant_config_override.json => $ vagrant reload
[12:01]
khi thay đổi provisioner (Chef, Bash...) thì $ vagrant reload --provision
[12:01]
bạn @hoavt take note này mà viết docs
[12:02]
thông thường nó là vậy, còn khi có lỗi mà ko xử lý được => $ vagrant destroy rồi $ vagrant up```
from dev.
should answer the question: "Why teracy-dev? Why not just Docker?"
```duc4nh [9:31 AM]
anh ơi em có 1 số thắc mắc về tech liên quan tới docker thì có thể hỏi ai đc ạ?
[9:33]
ngoài lề tí là em ko hiểu lắm mình dùng 2 tầng abstracts docker trên vagrant có gì tốt hơn nhiều k anh? sao 1 tầng docker chưa đủ ạ?
hoatle [9:40 AM]
�ví dụ giờ em muốn thống nhất mọi người dùng chung docker version thì làm sao em �enforce được?
[9:40]
ví dụ có bug liên quan �đến ubuntu 16.04 thì em sẽ check và reproduce kiểu gì? ví dụ như trên môi trường production deploy trên centos hay coreos mà bị lỗi mà do �là OS thì em check và fix lỗi kiểu gì?
[9:41]
mình phải đảm bảo thống nhất môi trường từ dev tới prod là giống nhau thì sẽ tránh được các lỗi kiểu đó
[9:41]
ngoài ra teracy-dev giúp automate toàn bộ quá trình cài đặt, `$ vagrant up` là xong hết, chỉ việc start coding ngay sau đó
[9:42]
�em cứ hỏi ở channel �liê�n quan tới task nhé, ví dụ như em đang làm project cho acme101 thì em hỏi ở #_official ```
hoatle [10:00 AM]
http://blog.teracy.com/2016/12/20/teracy-dev-the-only-truly-universal-productive-development-platform-with-docker-on-macos-linux-and-windows/ có trả lời rõ hơn nhé @duc4nh
đây là câu hỏi mà rất nhiều người hỏi nên mình �có trả lời ở blog post đó, �bạn @hoavt cũng nên đưa vào FAQ nhé
from dev.
How do I know which version of teracy-dev that I'm using?
from dev.
verified, close
from dev.
Related Issues (20)
- should add Location::Manager.add_synch for extension support
- Util.override with nil source should return the origin object
- failed to uninstall plugins HOT 2
- teracy-dev roadmap for v0.7.x HOT 3
- Should support multi language for git_sync HOT 3
- should release v0.6.0-a6
- git sync should work in multi language with all recent git versions HOT 2
- should create an extension for orphan VM prevention HOT 3
- should release v0.6.0-a7 with proper fix for git sync with different system locales HOT 1
- git sync: tag not found bug should be fixed HOT 3
- backport for v0.6.0-a8: windows: git clone '' (with the quote) trigger fatal error HOT 1
- backport for v0.6.0-b1: git sync: tag not found bug should be fixed HOT 1
- should release v0.6.0-a8
- should check to make sure teracy-dev works well with virtualbox 6.0 HOT 4
- should create extensions directory if not exist
- should update the skaffold setup + instruction to develop the docs HOT 2
- should find a way for git-sync to work with passphrase ssh key HOT 3
- should update k8s dev mode, helm chart with github actions CI/CD to migrate docs
- should fix the bug: Message: NoMethodError: undefined method `sub' for #<TeracyDev::Location::GitWarn HOT 3
- should make sure teracy-dev work well with WSL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dev.