AsyncGo: More mindful collaboration
AsyncGo helps your team improve how you work, no meetings necessary. Simply raise a tension, have a discussion, and make a change.
- ruby 3.1.0 (see
.ruby-version
)- bundler 2.1.4
- yarn 1.22.10
- chrome (for headless rspec tests)
- Install PostgreSQL 13
- Create a passwordless postgresql superuser with a username that matches your system user (if it doesn't exist already)
- Run
bundle install
- Run
bin/yarn install
- Run
bin/rails db:create
- Run
bin/rails db:migrate
(you can also usebin/rails db:seed
if you want sample data loaded.) - Run
bin/rails server
The Client ID and Secret should be used instead of [REDACTED]
. Please don't
save the Client ID or Client Secret anywhere online or locally other than in the
.env
file.
Client IDs and secrets are set up in the developer tooling for each service.
- Go to Google Cloud Console
- Go to "APIs & Services" -> "Credentials"
- Copy or create the Client ID and Client Secret
- Open the
.env
file in the root of your local copy of the project - Enter the Client ID as the
GOOGLE_CLIENT_ID
- Enter the Client Secret as the
GOOGLE_CLIENT_SECRET
Here's what a .env
file looks like
GOOGLE_CLIENT_ID=[REDACTED]
GOOGLE_CLIENT_SECRET=[REDACTED]
- Go to GitHub Application
- Copy or create a Client ID
- Obtain the Client Secret
- Open the
.env
file in the root of your local copy of the project - Enter the Client ID as the
GITHUB_CLIENT_ID
- Enter the Client Secret as the
GITHUB_CLIENT_SECRET
Here's what a .env
file looks like
GITHUB_CLIENT_ID=[REDACTED]
GITHUB_CLIENT_SECRET=[REDACTED]
rake send_digest_emails
emails a list of unread notifications to every user
Blazer uses hard-coded user authentication. It checks if the user email ends
with @asyncgo.com
, but you can change this to meet your needs.
Dockerfiles are in the root of this repo. If you update the versions, update the versions in the container label.
If you are using an M1 Mac you need to build for Linux
docker buildx build --platform linux/amd64 --push -t\
j4yav/ruby-yarn:3.1.0-1.22.18-1 . -f Dockerfile
docker buildx build --platform linux/amd64 --push -t\
j4yav/ruby-yarn-chromium:3.1.0-1.22.18-1-99.0.4844.51-1 . -f Dockerfile.system