Giter Club home page Giter Club logo

cmms-1's Introduction


CMMS
Code style: black Imports: isort License: BSD-3-Clause

Computerized Maintenance Management System or CMMS is a webapp created for Pertamina Hulu Energi, designed to provide a reliable scheduling, tracking, reporting tools for equipment and facilities maintenance.

Setup

Prerequisites

Deployment

  • Run poetry install to install all required dependencies in a virtualenv
  • Setup Linux environment properly (use stuff in .boilerplate directory when needed)
  • Run poetry run manage tailwind install to prepare tailwind
  • Run poetry run manage tailwind build to build tailwind CSS
  • Run poetry run manage collectstatic to serve django static files (you may need to setup proper perms first)
  • Run poetry run manage migrate to make sure DB structure is up to date
  • Finally run poetry run gunicorn cmms.asgi:application -k uvicorn.workers.UvicornWorker to start the server

Development

  • Run poetry install to install all required dependencies in a virtualenv
  • Run poetry run manage tailwind install to prepare tailwind
  • Run poetry run tailwind to start tailwind in debug mode
  • Finally run poetry run start to start the server

Environment Variables

Name Description Example
DATABASE_URL URL to your database. Check out dj-database-url for more information postgres://user:p#ssword!@localhost/foobar
REDIS_URL URL to your redis. Check out django-redis for more information redis://127.0.0.1:6379/1
DJANGO_DEBUG Toggle django's debug mode, for production it's highly recommended to disable it true or yes

cmms-1's People

Contributors

null2264 avatar fatx64 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.