Skip to content

pb10005/cindy-next-dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development environment for heyrict/cindy-next

1. Prerequisites

  • Vagrant
  • VirtualBox
  • git

2. Clone repo

git clone https://github.com/heyrict/cindy-next.git

Make sure that Vagrantfile and cindy-next are at the same directory.

3. Start a VM instance

vagrant up

4. Login to the instance

vagrant ssh

5. Setup

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

Releases

No releases published

Packages

No packages published

Languages