Website for our debt collective home page.
Define env variables. Client and server-side env variables. Check Gatsby docs to know more
cp env.sample .env.development
If you have access to our Doppler org, you can use it to run every command with our shared environment variables.
First, you need setup and configure the Doppler CLI
Then you need to setup the project by running doppler login
and doppler setup
.
Lastly, you need to run every command that needs env vars with doppler run
, for example to run the Gastby server you use doppler run yarn start
.
If you are using on a new M1 mac, there are some issues with Gatsby dependencies. Consider uninstalling brew/node/nvm/gatsby/et, and follow the steps detailed in this guide: https://www.component-driven.dev/articles/native-node-on-m1
yarn
yarn start
or
doppler run yarn start
yarn build
or
yarn build:production
yarn storybook-build
yarn storybook
We use chatwoot to communicate with the debt collective members and provide support. To run a chatwoot instance locally please follow the following instructions:
You will need to have pre-installed the following dependencies:
-
Docker
-
Docker compose
-
Redis
-
Postgres
1.- Run docker compose
docker-compose up
2.- List the docker containers and:
- Copy the container id from the image
chatwoot/chatwoot:latest
- Verify rails is runnning
docker ps
3.- Prepare the environment
docker exec -it <container_id> ./bin/rails db:chatwoot_prepare
4.- Open your local browser in the port 3000
Once you open the chatwoot app, you will be requested to create an account. While doing this step, you may face the following error:
undefined method `feature_inbound_emails=' for #<Account> Did you mean? feature_enabled?
if so, please stop the docker-compose
process and start it again.
We are using semantic-release to manage our releases. To create a release you have to run yarn release
.
Contributions are always welcome, no matter how large or small. Before contributing, probably you want to check the contributing page.