ECOLETA:it's an open template for a recycling collection area company based on JAVASCRIPT, HTML and CSS.
This project was made for studies purposes only, to understand the integration between a markup language such as HTML, with and a dinamic one as JAVASCRIPT
The MVP of this project is a website composed by --- pages, which allows the user to:
In order to check a simplified version of this project it's important do install a VSCode plugin called "Live Server", however as it follows you will how to install node.js and which port access to run it.
When using the BASH terminal the steps you need to follow are:
1- Into you home use the command bellow to update the dependencies;
$ sudo apt update2- Installing NODE.JS;
$ sudo apt install nodejsHowever is important to know that probably the version you will have installed is not the v.12, to updtate it you will have to use PPA (Personal Packages Archive) in order to update your package to its right version. To do it is simple.
$ cd ~ $ curl -sL https://deb.nodesource.com/setup_<> -o nodesource_setup.sh
$ sudo bash nodesource_setup.sh
Repeat the instalation command:
$ sudo apt install nodejsThen verify the version through:
$ nodejs -vThe next step is to install the NPM (Node Packages Manager)
$ sudo apt install npm
<It's important to remember that some NPM packages need the 'build-essential' to work properly, to install it type in the following command:
$ sudo apt install build-essential
It is important to install NPM Nodemon, in order to monitor the port, while developing that's why we use '-D'
$ npm install nodemon -D
You can check out those instructions accessing 'http://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-18-04-pt'