/ecoleta_web_page

Basic website model for a home working managment company which uses as code base HTML, CSS and Javascript

Primary LanguageHTML

eco-site_website_template

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

FEATURES

The MVP of this project is a website composed by --- pages, which allows the user to:


  • Register a new collection site;
  • Search for collection sites by states/cities.

  • 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.


    Installing NODE.JS v.12 via terminal on UBUNTU 18

    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 update

    2- Installing NODE.JS;

    $ sudo apt install nodejs

    However 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 nodejs

    Then verify the version through:

    $ nodejs -v

    The 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'

    Installing the template engine NUNJUCKS