GithubHelp home page GithubHelp logo

arsenkhy / onacut Goto Github PK

View Code? Open in Web Editor NEW

This project forked from osscameroon/onacut

0.0 0.0 0.0 6.45 MB

Onacut is web application that notifies users of electricity, water or internet outage in their location

Shell 1.84% Python 25.50% TypeScript 68.46% Makefile 1.71% HTML 1.23% Dockerfile 1.26%

onacut's Introduction

onacut237

Project setup backend

REQUIREMENTS

  • python (3.x recommended) & pip (>= 22 recommended)
  • docker
  • make (a command line tool to run Makefile commands)

HOW TO SET UP

# Put appropriate parameters inside .env.example
make install-deps

HOW TO LAUNCH

DEV
make run

# To run tests
make test

# formating
make lint
PROD

Or Using Docker

# This will install and run your project on port 5000
make docker-run

To run the backend, we need python3 and pip

  • Install the dependencies
pip install -r requirements.txt
  • Run the backend
python3 server.py

Project setup frontend

REQUIREMENTS

  • node & npm
  • docker
  • make (a command line tool to run Makefile commands)

HOW TO SET UP

# Put appropriate parameters inside .env.example
make install-deps

# or with npm
npm install

HOW TO LAUNCH

DEV
make run

# or with npm
npm start

# To run tests
make test
PROD

Or Using Docker

make serve

# or with npm
npm run serve

# This will install and run your project on port 3000
make docker-run

To launch the frontend, we need Node installed and npm/yarn

  • Install the dependencies
npm install or yarn

Compiles and hot-reloads for development

npm run start or yarn start

Compiles and minifies for production

npm run build or yarn build

NB: To launch the frontend, you should launch the backend first.

Screenshots

Illustrative video of the project

simplescreenrecorder-2022-03-15_18.46.56.mp4

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.