Skip to content

Platzi-Master-C8/gh-automation-administration-backend

Repository files navigation

GetHired Automation Administration Backend version

This project is intended to be an accounts and permissions manager for the GetHired platform.

Build

Prerequisites

  • Copy .env.example to .env and fill with desired values.

  • In order to work properly NPM, Docker Engine and Docker Compose must be installed in advance on operative system.

Windows

Docker counts with an UI for managing containers. A complete guide about installation can be found in the official Docker documentation.

MacOS

Same case as Windows, an UI can be installed, but according to the official Docker documentation two variants can be selected depending on the processor architecture.

Linux

For these distributions the Docker Engine needs some of tricky steps to be installed. Depending on the distribution the commands changes. A complete list of available distributions is shown on the official Docker doucmentation.

Development

This configuration is intended to real time binding of local with container files.

Build image:

docker-compose build

Start sever with hot-reload, by defaul on http://localhost:8000. For debugging purposes:

docker-compose up

If running in background is desired:

docker-compose up -d

Kill service

docker-compose down

Production

Vercel

Install Vercel CLI (on Windows and macOS administrator privileges are required, on linux preced the command with sudo):

npm i -g vercel

Login to Vercel:

Depending on login method, the command will ask for credentials or will show an URL to access through the browser.

vercel login

To deploy the project:

vercel .

About

Get Hired repo for automatio-admin backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published