Awesome
<p align="center"> <img src="https://user-images.githubusercontent.com/18214954/108244875-96b51a80-7147-11eb-882e-cb2987820ab1.png" /> </p>Local Environments
- Create empty .env file and put it into ~/packages/server and ~/packages/worker
Prerequirements
- Node
- Docker
Setup Google Storage
-
Put GCloudStorage Key in ~/keys/
-
Add varables in both .env files
For Dev:
-
GC_PROJECT - google storage project
-
GCS_BUCKET - google storage bucket
-
KEY_FILE_FOR_GC - key file for google storage
-
SENTRY_URL - Sentry (logging service) url for worker
-
SENDGRID_KEY - Key for SendGrid (mailing) service
For production:
-
QUEUE_CERT, QUEUE_KEY, QUEUE_PASSPHRASE, QUEUE_CA - crdits for queue service
-
QUEUE_URL - url for queue service
-
DATABASE_URL - Databese url (SQL)
-
-
change email in `packages/server/migrations/sql/20190815122846-CreateInisialAccounts-up.sql. Email should be real, you will receive a magic link to login there
-
seed the database. To do that just run
npm run db:up
oryarn db:up
Install and run
Run docker with Queue and DB service
Run docker service first then run following commands to run containers
$cd docker-dev
$docker-compose up
Run server, worker and front-ends
npm run dev
or yarn dev
Usage
Open http://localhost:8080
enter