Development environment for heyrict/cindy-next
- Vagrant
- VirtualBox
- git
git clone https://github.com/heyrict/cindy-next.git
Make sure that Vagrantfile
and cindy-next
are at the same directory.
vagrant up
vagrant ssh
Run the commands below.
# chmod 777 <filename> to permit execution
cd /usr/app/shell
./install_nvm.sh
./install_hasura_cli.sh
./install_global_tools.sh
./generate_key_pair.sh
./run_postgres.sh
cd /usr/app/cindy
yarn dev:apollo
./docker-run.sh
hasura migrate apply --admin-secret <your-hasura-admin-secret>
export HASURA_GRAPHQL_ADMIN_SECRET=<your-hasura-admin-secret>
yarn export-schema
yarn export-graphql-types
yarn dev:next
then access http://localhost:3000