$ export TEMPLATE="google-digger-project"
$ export FOLDER="myapp"
$ docker run -ti \
-e TEMPLATE \
-e FOLDER \
-v $PWD:/output \
-v $PWD/run.sh:/run.sh \
binocarlos/templatestack
$ cd myapp
$ make setup
$ make build
$ ls -la
$ make dev
$ make api.cli
$ node src/index.js
$ make frontend.cli
$ yarn run watch
$ make database.create
After the first initial boot - there are no database tables, create them:
$ make schema
$ bash scripts/postgres.sh psql
$ cat scripts/sql/drop.sql | bash scripts/postgres.sh psql
$ make api.cli
$ yarn run knex -- migrate:latest
$ make api.cli
$ yarn run knex -- migrate:make mymigration
stop docker
$ rm -rf .data
Content type
Image
Digest
Size
327 MB
Last updated
over 8 years ago
docker pull binocarlos/templatestack