Skip to content

RxnDbr/6element

 
 

Repository files navigation

Scope

6element is a open innovation project of waste optimisation. Learn more

Getting started

Preambule

git clone [email protected]:anthill/6element.git
cd 6element

Copy/create the missing file PRIVATE.json situated in the core folder containing:

{
    "twiliossi": "...",
    "twiliopwd": "...",
    "mapbox_token": "...",
    "mapId": "..."
}

Install dependencies locally (this is mainly to enable automated lint functionality)

cd core
npm install

Running in dev mode

To have automatic reload of the server and rebuild of the frontend use as well as fake data automatically populated:

docker-compose -f compose-dev.yml build
docker-compose -f compose-dev.yml up

Pushing to production

If you want to clear (and lose all the data) because you changed the schema or for whatever reason you can drop and create the db as well as rewrite the declaration.js:

docker-compose -f compose-init.yml up

When you only want to restart the service use:

docker-compose -f compose-prod.yml up -d

About

Optimising waste management in recycle centers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.5%
  • Other 1.5%