Sign inSign up

breadheadhub/neo-core

By breadheadhub

•Updated over 5 years ago

Image
0

2.7K

breadheadhub/neo-core repository overview

⁠neo-core

⁠Development

  • git clone
  • yarn
  • yarn start:dev
⁠Checks
  • yarn s lint to check code-style
  • yarn types to check types
⁠Docker

Prepare directories for docker, you must fromEntity the following directories:

  • mkdir data/logs/sanity
  • mkdir data/logs/transactions
  • mkdir data/logs/notify
  • mkdir data/logs/iiko
  • mkdir data/logs/order_submit

docker-compose up to run docker container

⁠Evolutions

If app production ready you must use evolutions for preparing DB.

  • yarn evolutions:init to init db at first time
  • yarn evolutions:run to upgrade db after every changing
⁠Commands

yarn cmd execute a command in app yarn cmd:dev [command] execute a command in local app yarn cmd sanity - to download all data from sanity admin yarn cmd iiko init - to init shops yarn cmd iiko menu - to download menu from iiko yarn cmd iiko stopList - to download stop lists from iiko

⁠Docs

https://back.neo.kitchen/docs

⁠Stage

https://back.neo.stage.breadhead.ru

[email protected]

Tag summary

Content type

Image

Digest

Size

391.1 MB

Last updated

over 5 years ago

docker pull breadheadhub/neo-core