appendix A Setting up the development environment

 

This appendix covers

  • Setting up a suitable development environment, either locally or online
  • Choosing between using a local development environment or a web IDE
  • Setting up a repository for JavaScript development
  • Learning how to use a JavaScript dependency manager to install libraries and frameworks
  • Using the REPL facility of Node.js
  • Running development tools

Chances are you’re already quite familiar with most of what’s in this appendix. Nevertheless, I want to provide the basic instructions you’ll need to set up a suitable development environment that’s guaranteed to work for the code and instructions given throughout the book. From chapter 3 onwards, we’ll be implementing a Domain IDE using this development environment. Along the way, we’ll also implement a Runtime based on a reference implementation for it. The reference implementation is introduced in chapter 8.

Figure A.1 is an extended version of figure 1.2 showing the DSL-based approach to developing a Runtime using a Domain IDE—this time including the reference implementation for the Runtime.

Figure A.1 Using a DSL-based approach to develop a Runtime using a Domain IDE—reference implementation included
figure

A.1 Putting together a development environment

A.1.1 Choosing between a local or online development environment

A.2 Setting up a local development environment

A.2.1 Installing Node.js

A.2.2 Installing Visual Studio Code

A.3 Using a web IDE

A.3.1 Using Gitpod.io

A.4 Setting up a repository for JavaScript development

A.5 Using the Node.js REPL

A.6 Running development tools

sitemap