Skip to content

Remmeauth/block-producers-directory-front

Repository files navigation

block-producers-directory-front

Front-end of directory of block producers based around Remme Protocol.

Development

Clone the project with the following command:

$ git clone https://github.com/remmeauth/block-producers-directory-front.git
$ cd block-producers-directory-front

To build the project, use the following command:

$ docker-compose -f docker-compose.development.yml build

To run the project, use the following command. It will start the server and occupate current terminal session:

$ docker-compose -f docker-compose.development.yml up

If you need to enter the bash of the container, use the following command:

$ docker exec -it block-producers-directory-front bash

Clean all containers with the following command:

$ docker rm $(docker ps -a -q) -f

Clean all images with the following command:

$ docker rmi $(docker images -q) -f

Production

To build the project, use the following command:

$ docker build -t block-producers-directory-front . -f Dockerfile.production

To run the project, use the following command. It will start the server and occupate current terminal session:

$ docker run -p 8080:8080 -e PORT=8080 --name block-producers-directory-front block-producers-directory-front

Technology stack

Project's technology stack is described below, including references to their tutorials:

  1. JavaScript as language and Vue.js as web-framework.
  2. Docker as containerization tool.
  3. Vue Router as routing framework.
  4. Travis as continuous integration service.
  5. Heroku as continuous delivery service.
  6. Follow Airbnb JavaScript style guide.