holition-cms-util

0.0.51 • Public • Published

CMS util

README

What is this repository for?

  • Quick summary

    • A package of common utils for the holition-cms project
  • Version

    • 0.0.1

How do I get set up?

  • Summary of set up

    • Install postgres locally
    • Set up NPM to publish the repository
    • Install npm Dependencies
    • Run tests
  • Configuration

Set up npm

* npm set init.author.name “Holition”
* npm set init.author.email “admin@holition.com”
* npm set init.author.url "www.holition.com"

Install Dependencies

  • Dependencies

    • npm Install
  • Database configuration

    • Our project uses postgres

    • We need to create a testing database with a specific name and user permissions

      • Open pgAdmin (there can be a small delay on first running, this is normal)

      • Double click on your one postgres server

      • Right click -> create -> login/group role

      • General -> name: 'test'

      • Definition -> password: 'password'

      • Privilieges -> can login? -> yes, superuser -> yes -> save

      • Right click on Databases -> create -> Database

      • General -> database: 'test_db' -> save

  • How to run tests

  • Deployment instructions

    • Increment the package.json version number
    • npm publish

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

Dependencies (3)

Dev Dependencies (2)

Package Sidebar

Install

npm i holition-cms-util

Weekly Downloads

29

Version

0.0.51

License

ISC

Last publish

Collaborators

  • holition