Comments (4)
how did you create the project/
directory and what are it's "permissions". Also, are you using the master (compiled from source) or the version published on npm? What OS?
here is how the process looks on my computer
________________________________________________________________________________
| ~/tmp/vvv @ 192-168-0-100 (ruslantalpa)
| => subzero base-project
? Enter the directory path where you want to create the project project
? Choose the starter kit postgrest-starter-kit (REST)
Cloning into 'project'...
remote: Counting objects: 523, done.
remote: Total 523 (delta 0), reused 0 (delta 0), pack-reused 523
Receiving objects: 100% (523/523), 1.11 MiB | 998.00 KiB/s, done.
Resolving deltas: 100% (209/209), done.
Checking connectivity... done.
You can now do:
git remote add origin <your git repo url here>
git push -u origin master
________________________________________________________________________________
| ~/tmp/vvv @ 192-168-0-100 (ruslantalpa)
| => cd project/
total 32
-rw-r--r-- 1 ruslantalpa staff 27B Nov 29 13:31 .babelrc
-rw-r--r-- 1 ruslantalpa staff 743B Nov 29 13:31 .env
drwxr-xr-x 13 ruslantalpa staff 442B Nov 29 13:31 .git/
-rw-r--r-- 1 ruslantalpa staff 12B Nov 29 13:31 .gitignore
-rw-r--r-- 1 ruslantalpa staff 1.1K Nov 29 13:31 LICENSE.txt
-rw-r--r-- 1 ruslantalpa staff 7.2K Nov 29 13:31 README.md
drwxr-xr-x 4 ruslantalpa staff 136B Nov 29 13:31 db/
-rw-r--r-- 1 ruslantalpa staff 3.8K Nov 29 13:31 docker-compose.yml
drwxr-xr-x 7 ruslantalpa staff 238B Nov 29 13:31 openresty/
-rw-r--r-- 1 ruslantalpa staff 737B Nov 29 13:31 package.json
drwxr-xr-x 3 ruslantalpa staff 102B Nov 29 13:31 postgrest/
________________________________________________________________________________
| ~/tmp/vvv/project @ 192-168-0-100 (ruslantalpa)
| => docker-compose up -d
WARNING: The MAX_ROWS variable is not set. Defaulting to a blank string.
WARNING: The PRE_REQUEST variable is not set. Defaulting to a blank string.
Creating network "postgreststarterkit_default" with the default driver
Creating postgreststarterkit_db_1 ...
Creating postgreststarterkit_rabbitmq_1 ...
Creating postgreststarterkit_db_1
Creating postgreststarterkit_db_1 ... done
Creating postgreststarterkit_postgrest_1 ...
Creating postgreststarterkit_rabbitmq_1 ... done
Creating postgreststarterkit_pg_amqp_bridge_1 ...
Creating postgreststarterkit_postgrest_1 ... done
Creating postgreststarterkit_openresty_1 ...
Creating postgreststarterkit_openresty_1 ... done
________________________________________________________________________________
| ~/tmp/vvv/project @ 192-168-0-100 (ruslantalpa)
| => subzero dashboard
________________________________________________________________________________
| ~/tmp/vvv/project @ 192-168-0-100 (ruslantalpa)
| => subzero migrations init
Writing database dump to /Users/ruslantalpa/tmp/vvv/project/tmp/dev-initial.sql
Created sqitch.conf
Created sqitch.plan
Created deploy/
Created revert/
Created verify/
Created deploy/0000000001-initial.sql
Created revert/0000000001-initial.sql
Created verify/0000000001-initial.sql
Added "0000000001-initial" to sqitch.plan
Diffing /Users/ruslantalpa/tmp/vvv/project/tmp/dev-initial.sql and /Users/ruslantalpa/tmp/vvv/project/tmp/prod-initial.sql
Writing the result to /Users/ruslantalpa/tmp/vvv/project/db/migrations/revert/0000000001-initial.sql
Copying /Users/ruslantalpa/tmp/vvv/project/tmp/dev-initial.sql to /Users/ruslantalpa/tmp/vvv/project/db/migrations/deploy/0000000001-initial.sql
________________________________________________________________________________
| ~/tmp/vvv/project @ 192-168-0-100 (ruslantalpa)
| => ls -al
total 32
drwxr-xr-x 13 ruslantalpa staff 442 Nov 29 13:32 .
drwxr-xr-x 3 ruslantalpa staff 102 Nov 29 13:31 ..
-rw-r--r-- 1 ruslantalpa staff 27 Nov 29 13:31 .babelrc
-rw-r--r-- 1 ruslantalpa staff 743 Nov 29 13:31 .env
drwxr-xr-x 13 ruslantalpa staff 442 Nov 29 13:31 .git
-rw-r--r-- 1 ruslantalpa staff 12 Nov 29 13:31 .gitignore
-rw-r--r-- 1 ruslantalpa staff 1100 Nov 29 13:31 LICENSE.txt
-rw-r--r-- 1 ruslantalpa staff 7406 Nov 29 13:31 README.md
drwxr-xr-x 5 ruslantalpa staff 170 Nov 29 13:32 db
-rw-r--r-- 1 ruslantalpa staff 3885 Nov 29 13:31 docker-compose.yml
drwxr-xr-x 7 ruslantalpa staff 238 Nov 29 13:31 openresty
-rw-r--r-- 1 ruslantalpa staff 737 Nov 29 13:31 package.json
drwxr-xr-x 3 ruslantalpa staff 102 Nov 29 13:31 postgrest
________________________________________________________________________________
| ~/tmp/vvv/project @ 192-168-0-100 (ruslantalpa)
| => cd ..
total 0
drwxr-xr-x 13 ruslantalpa staff 442B Nov 29 13:32 project/
________________________________________________________________________________
| ~/tmp/vvv @ 192-168-0-100 (ruslantalpa)
| => ls -al
total 0
drwxr-xr-x 3 ruslantalpa staff 102 Nov 29 13:31 .
drwxr-xr-x 15 ruslantalpa staff 510 Nov 29 13:31 ..
drwxr-xr-x 13 ruslantalpa staff 442 Nov 29 13:32 project
________________________________________________________________________________
| ~/tmp/vvv @ 192-168-0-100 (ruslantalpa)
| =>
from subzero-cli.
Thanks for your detailed reply!
from subzero-cli.
what was the error? permissions on the directory?
from subzero-cli.
yes
from subzero-cli.
Related Issues (20)
- clear log
- customizing service in starter kit derived projects HOT 10
- Error with base-project & manage your database structure/migrations here set to NO HOT 1
- feature request: reload schema button HOT 4
- Error when resetting db HOT 1
- init script not working on windows HOT 11
- Integrate with other graphql tools HOT 1
- Error when installing via npm on OSX HOT 5
- subzero-base-project doing nothing on windows HOT 4
- error in migrations init
- add lock file HOT 1
- Migrations fail on Windows + Node 13.x HOT 1
- Migrations are missing roles HOT 2
- resetDb only drop the database but the created role will not HOT 2
- docker containers do not run on raspberry pi HOT 2
- Migrations missing grants after update from 0.1.40 to 0.2.1 HOT 2
- Missing authenticator role when generating init migration script using subzero HOT 4
- "subzero-migrations add" command is not working for a table with partition HOT 5
- subzero-migrations add HOT 5
- Prefer externally given value for APP_DIR instead of .env file path HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subzero-cli.