Skip to content

buhhy/dandelion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development Guide

Just install Docker and run ./command/start-dev.sh, and you should have an operational development environment.

Common development tasks

  • Start the development environment: ./command/start-dev.sh
  • View a list of docker containers: docker ps
  • Connect to a docker container (e.g. to see its filesystem): docker exec -it <container id> bash
  • Work on a GraphQL query: http://localhost:3000/graphql

Sysadmin Guide

Run ./command/deploy.sh to push to Docker Hub and ec2-user@terencelei.com. The first time you do this, you'll need to create a Docker Hub account that I can add to the Sheepie organization, and then docker login.

Exposed ports

Port Description
3000 Client
3001 Server (1)
3002 Postgres

(1) Server is used by client for GraphQL queries. Relay by default assumes that this will be at /graphql on the same host, so configuration should look as follows:

External path Internal port Internal path
/ 3000 /
/graphql 3001 /

About

stuff

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors