Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Getting Started page #2487

Merged
merged 3 commits into from
Sep 17, 2018
Merged

Conversation

marcelstoer
Copy link
Member

Fixes #2481, #2431

As discussed earlier in several other issues. Ideally this should land rather quickly and then immediately be pulled over to master to fill the (LFS) documentation gaps.

Copy link
Collaborator

@TerryE TerryE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor proofing edit suggestions

docs/en/lfs.md Show resolved Hide resolved
docs/en/getting-started.md Outdated Show resolved Hide resolved

**How to read this**

Use case: you're just starting with NodeMCU and your OS of choice is Windows (and you save using LFS for later). The blue boxes in the 'Windows' column are your guideline. You:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(and you ... The blue reads better as

(and you are not using LFS), then the blue

docs/en/getting-started.md Outdated Show resolved Hide resolved

## Cloud Builder

The cloud builder at [https://nodemcu-build.com](https://nodemcu-build.com) allows to pick NodeMCU branch, modules and a few other config options (e.g. SSL yes/no). After the build is completed you will receive an email with two links to download your custom firmware:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... configuration options ...

docs/en/getting-started.md Show resolved Hide resolved

## Docker

The [Docker NodeMCU build image](https://github.com/marcelstoer/docker-nodemcu-build) is the easiest method to build NodeMCU related artifacts locally on your preferred platform.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"artifacts" isn't the best noun here. How about components?


[↑ back to matrix](#task-os-selector)

_Note that this image is not an official NodeMCU offering. It's maintained by a NodeMCU team member as an individual, though._
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... this Docker image ...

A local copy of `luac.cross` is only needed if you want to compile the Lua files into an LFS image yourself and you are _not_ using Docker.

### Windows
Windows 10 users can install and use the Windows Subsystem for Linux (WSL). Alternatively all Windows users can [install Cygwin](https://www.cygwin.com/install.html). (You will only need the Cygwin core). Either way, you will need a copy of the `luac.cross` compiler:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... (You will only need the Cygwin core + gcc-core + gnu make options during setup). ...

Windows 10 users can install and use the Windows Subsystem for Linux (WSL). Alternatively all Windows users can [install Cygwin](https://www.cygwin.com/install.html). (You will only need the Cygwin core). Either way, you will need a copy of the `luac.cross` compiler:

- You can either download this from Terry's fileserver. The [ELF variant](http://files.ellisons.org.uk/esp8266/luac.cross) is used for all recent Linux and WSL flavours, or the [cygwin binary](http://files.ellisons.org.uk/esp8266/luac.cross.cygwin)) for the Cygwin environment.
- Or you can compile it yourself by downloading the current NodeMCU sources (this [ZIPfile](https://github.com/nodemcu/nodemcu-firmware/archive/master.zip)); edit the `app/includes/user_config.h` file and then `cd` to the `app/lua/luac_cross` and run make to build the compiler in the NodeMCU firmware root directory. Note that the `luac.cross` make only needs the host toolchain which is installed by default in WSL, but in Cygwin you will need to tick the _gcc-core_ + _gnu make_ options during setup.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete "in WSL ... setup"

@marcelstoer
Copy link
Member Author

Thank you Terry for the detailed feedback!

@TerryE
Copy link
Collaborator

TerryE commented Sep 17, 2018

@marcelstoer Marcel, 👍 to the updates. The others have now had a couple of days to give feedback, so I suspect that we have had all of the review comments that we are going to get, and I will merge this now. Feel free to ripple this over to master.

Thanks, this is a valuable addition to the doc set.

@TerryE TerryE merged commit 9d8246f into nodemcu:dev Sep 17, 2018
TerryE added a commit that referenced this pull request Sep 17, 2018
-  Added Marcel's Getting Started page
-  Added reference to getting-started.md
@marcelstoer marcelstoer deleted the feat/doc-quickstart branch September 17, 2018 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants