Open a command prompt in your project directory, for example C:\Users\ronnie\documents\my-project. Grunt is our task automation, or task runner, tool. Nodemon restarts our Express.js web server when files are updated. Install the following Node Package Manager (npm) packages and finish up by installing nodemon and grunt, globally. | └───includes | │ footer.html | | header.html | |. Folder Structure my-project │ Gruntfile.js │ package.json │ └───deployment │ │ package.json │ │ server.js │ │ │ └───public │ │. Your folder structure should look like below. ![]() Finally, inside your source folder create an includes folder that will hold your template files and a folder for your css and js. Inside of that folder, create two new folders - one for your deployment files and the other for your source code. Initial Setup Create FoldersĬreate a folder, or directory, for your project. ![]() Once installed, open a command prompt and execute the following to install Node.js: nvm install latest nvm use 19.4.0 (or whatever version is latest) Install Sublime Textĭownload and install from. Node Version Manager (nvm) and Sublime Text Installed on your local development computer. ![]() Server side automation tools that make up a complete CI/CD pipeline are beyond the scope of this article. We will be using a Windows machine in this example but the process is easily done on Apple/Linux machines as well. This automates coding locally on your development computer. This article walks you through the setup of a web development environment with automated build tooling in Sublime Text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |