Giter VIP home page Giter VIP logo

COREABLE

buddy pipeline

Getting Started

  1. Clone the project
  2. Install project dependencies
  3. Create your own branch and begin hacking
terminal
git clone https://github.com/coreable/coreable.git
cd coreable
npm install

Creating a local MySQL instance for development

While developing and working on the coreable API or Web SPA it may be necessary to start an instance of MySQL server to avoid remote connections to the cloud. Running the API in development mode will use the database settings specified in the development object of the /api/env/development.env file.

Make sure the credentials in the /api/env/development.env correctly match the credentials in the /docker-compose.yml file in the root directory.

To begin a MySQL server, open the terminal and being a docker container with docker-compose up -d. This will use the docker-compose.yml file as a configuration to being the database service.

NOTE: Docker must be installed.

terminal
cd coreable
docker-compose up -d

The database is ready for connection.

Building for Development

API

npm run dev:api

React

npm run dev:web

Documentation

npm run dev:docz

Building for Production

API

npm run build:api

This will compile all the files in the /api/ directory, excluding the mocha & chai tests, to the output directory of /dist/.

React

npm run build:web

This will compile all the files in the /react/src/ and /react/public directory, excluding the tests, to the output directory of /dist/public.

Documentation

npm run build:docz

This will compile all the files in the /docs/ directory to the output directory of /dist/docs.

Running Unit Tests

API

npm run test:api

React

npm run test:web

Documentation

Docz don't need testing

Fix node-gyp or fsevents

https://github.com/nodejs/node-gyp/blob/master/macOS_Catalina.md

Coreable's Projects

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.