Skip to content

An automation script developed for the Portraits website. Written in Nodejs

License

Notifications You must be signed in to change notification settings

viniciusbavosa/portraits-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portraits - Automation script

Static Badge Static Badge

This is an automation script for Portraits project. Developed with Node and Simple Git.

This script watches for changes in a specified directory. When a change is detected, it creates a new object and inserts it into the FILE_TOBE_READ file. Using Simple Git, it automatically commits and pushes the changes to the remote repository.

Content

How to use

  1. Clone repo:

    • git clone https://github.com/viniciusbavosa/portraits-node-script
  2. Install dependencies with pnpm

    • pnpm install
  3. Set environment variables

    • Use .env-example in the repository root as an example
    • Create a .env file with the environment variables from .env-example
  4. Start application with pnpm -> pnpm run watch

License

This repository is licensed under the MIT License. Be sure to read and agree to the license terms before using its content.

Credits

Thanks to João Genari for his help during the development of this project and for providing the template for this README.

About

An automation script developed for the Portraits website. Written in Nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published