Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Add various build/devux bits
Browse files Browse the repository at this point in the history
  • Loading branch information
takkaria committed May 10, 2022
1 parent 627cfbc commit 625f13f
Show file tree
Hide file tree
Showing 6 changed files with 3,129 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[*.js]
indent_style = space
indent_size = 2
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.PHONY: dev test deploy

dev:
API_KEY=xxx DATABASE_URL=postgres://test:supralocal@localhost:5432/test node index.js

test:
DATABASE_URL=postgres://test:supralocal@localhost:5432/test ./node_modules/.bin/mocha

deploy:
git push heroku master

docker-up:
docker compose -f stack.yml up -d

docker-stop:
docker compose -f stack.yml stop
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node index.js
Loading

0 comments on commit 625f13f

Please sign in to comment.