经过实践总结,个人认为换机开发主要分为以下三个部分:
- 软件迁移:软件安装、整理(快捷方式)、设置
- 数据迁移:使用移动硬盘把数据从老设备拷贝到新设备道中
- 系统设置:如环境变量配置、凭证管理等等,建议不要刻意去做,这些很多是会在软件安装时或者执行某些操作时会自动配置上,没有配置上的按需配置上即可。
经过上面分析,对于数据迁移和系统设置无需多言,下面罗列一些需要安装的软件及其配置和设置(随机应变)。
1.软件安装
基础软件:
- chrome:https://www.google.cn/chrome/
- typora:https://www.typora.io/
- v2rayN:https://github.com/2dust/v2rayN/releases
- snipaste:https://zh.snipaste.com/
- 7-zip:https://www.7-zip.org/download.html
- 微信:https://pc.weixin.qq.com/
- 企业微信:https://work.weixin.qq.com/#indexDownload
- QQ:https://im.qq.com/download/
- everything:https://www.voidtools.com/zh-cn/
- xmind:https://www.xmind.net/
开发相关软件:
- vscode:https://code.visualstudio.com/Download#
- git:https://git-scm.com/downloads
- node:https://nodejs.org/en/download/
- yarn:https://classic.yarnpkg.com/en/docs/install/#windows-stable
- navicat premium:http://www.navicat.com.cn/download/navicat-premium
- navicat premium(帮助):https://www.xcnte.com/archives/666/ 或 https://www.cnblogs.com/kkdaj/p/14987106.html
- redis client:https://github.com/qishibo/AnotherRedisDesktopManager/releases
- postman:https://www.postman.com/downloads/
- docker for window:https://www.docker.com/get-started
2.软件整理(快捷方式)
对于软件,个人原则上是追求少而精,并且不把软件的快捷方式放在桌面上。在这个原则之下,个人的软件快捷方式摆放的规则如下:
- 对于最频繁使用的软件,把其快捷启动方式固定在任务栏。
- 对于其次使用频繁的软件,把其快捷启动方式固定在菜单栏。
- 而一些很少使用的软件或者工具则不设置快捷方式,启动时搜索(如everything)再打开或者重新安装打开。
3.软件设置
vscode
- 代码检查:eslint
- 代码格式化:prettier
- 智能提示:visual studio intellicode
- 网页调试:debugger for chrome
- 智能提示(node.js模块):node.js modules intellisense
- 快捷键:ecplise keymap
- 自动导入:Auto Import
- TODO Tree
- git lens:每行代码后面都可以看到最后的开发者
- node.js extension pack
- node.js exec
- node.js Assertion snippets
npm / yarn
- npm config:https://docs.npmjs.com/cli/v6/commands/npm-config
npm config set registry https://registry.npm.taobao.org
- yarn config:https://classic.yarnpkg.com/en/docs/cli/config/
# 通过以下命令可以发现,yarn同样会读取npm配置文件npmrc中的配置,所以设置npm config即可
yarn config list
docker
- aliyun registry
配置步骤如下:进入阿里云 -> 注册阿里云账号 -> 搜索进入容器镜像服务 -> 在镜像中心选项卡下选择镜像加速器 -> 里面可以看到加速器地址以及各系统下的配置方式