Skip to content

Community building related tools including social media post helper, editor meetup tools, etc.

License

Notifications You must be signed in to change notification settings

cofacts/community-builder

Repository files navigation

Cofacts Community Builder

CI test

Tools that help community building.

Discussion: https://g0v.hackmd.io/@mrorz/B1X4EkJcU#New-idea-Social-media-toolkit

Development

# Install dependency, initialize .env file for development
$ npm install
$ cp .env.sample .env.local

# Start dev server
$ npm start

Other scripts include:

  • npm run lint: Runs eslint
  • npm run lint:fix: Runs eslint and handle fixable errors
  • npm run typecheck: Checks Typescript types
  • npm run codegen: After changing GraphQL query, run this to update Typescript types

Lint and check is also invoked in Travis.

Deployment

In .travis.yml we have configured an automatic deploy to gh-pages branch.

If you want to maintain a fork and deploy to your own gh-pages, follow these steps to setup GITHUB_TOKEN environment variable in your Travis project.