Setting-up a development environment on LattePanda Alpha with Windows 10

LattePanda Alpha

  • CPU:Intel 7th Gen Core m3–7y30
  • Core:1.6–2.6GHz Dual-Core,Four-Thread
  • Graphics:Intel HD Graphics 615, 300–900MHz
  • RAM:8G LPDDR3 1866MHz Dual-Channel
  • Memory:64GB eMMC V5.0l
  • WiFi / Bluetooth / 3 USB 3.0 ports / M.2 slots for storage

Package Management

@"%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" 

Linux on Windows (yes, you read it right)

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Customizing the console

choco install -y cmder firacode
$ curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
$ chsh -s /usr/bin/zsh
# Install Spaceship Prompt
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
# Link the theme
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
# Configure the prompt as default
sed s/'ZSH_THEME.*'/'ZSH_THEME=spaceship"' -i ~/.zshrc
# Install the auto suggestion plugin
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
cat <<EOT >> ~/.bashrc
if test -t 1; then
exec zsh
fi
EOT

Configuring your editor

choco install vscode
ActiveFileInStatusBar v1.0.3
ansible v0.2.8
beautify v1.4.7
blank-line-organizer v0.1.5
Bookmarks v9.1.0
bracket-jumper v1.1.8
bracket-pair-colorizer v1.0.60
code-settings-sync v3.2.0
devicetree v0.1.1
erlang v0.4.6
Go v0.6.93
highlight-words v0.0.8
json-tools v1.0.2
LogFileHighlighter v2.4.2
markdown-all-in-one v1.7.0
material-icon-theme v3.6.0
notetree v0.0.4
python v2018.9.2
trailing-spaces v0.2.11
vsc-material-theme v2.5.1
vscode-ansible v0.5.2
vscode-dired v0.0.4
vscode-docker v0.3.1
vscode-fileutils v2.11.0
vscode-markdown-to-clipboard v0.0.2
vscode-markdownlint v0.21.0
vscode-yaml v0.0.17
word-count v0.1.1
xml v2.3.2

Installing your language of choice

$ choco install golang -yChocolatey v0.10.11
Installing the following packages:
golang
By installing you accept licenses for the packages.
Progress: Downloading golang 1.11.2... 100%
golang v1.11.2 [Approved]
golang package files install completed. Performing other installation steps.
Downloading golang 64 bit
from 'https://dl.google.com/go/go1.11.2.windows-amd64.msi'
Progress: 100% - Completed download of C:\Users\LattePanda\AppData\Local\Temp\chocolatey\golang\1.11.2\go1.11.2.windows-amd64.msi (110.72 MB).
Download of go1.11.2.windows-amd64.msi (110.72 MB) completed.
Hashes match.
Installing golang...
golang has been installed.
golang may be able to be automatically uninstalled.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of golang was successful.
Software installed as 'msi', install location is likely default.
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
$ refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..
$ go version
go version go1.11.2 windows/amd64

Docker

Docker-machine running
Started a Nginx container and mapped it’s ports to localhost

Conclusion

--

--

--

Writing everything cloud and all the tech behind it. If you like my projects and would like to support me, check my Patreon on https://www.patreon.com/carlosedp

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Failed to Post Jupyter Notebook to Medium: File Not Found(ErrNo:2)

App Architecture explained in a way your Mom will understand

Vulnerabilities Scan — Writing Dockerfiles like a software developer

Ever since I was a little boy, I have only ever wanted to be a Doctor.

Get Lambdas in VPC with Go

Kotlin in a nutshell

ODBC Connection from macOS to PostgreSQL on Azure

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Carlos Eduardo

Carlos Eduardo

Writing everything cloud and all the tech behind it. If you like my projects and would like to support me, check my Patreon on https://www.patreon.com/carlosedp

More from Medium

C++ | Making simple calculator — Beginner e

Linux kernel 2.6.* Error: “code model kernel does not support PIC mode”

Useful tweaks for Windows: get more performance and protect your privacy

On the covariance, contravariance and invariance