straylightlabs / straylightportal

1 stars 0 forks source link

Straylight Portal

Straylight Portal is a web server based on expressjs framework. It handles basic authentication with Google OAuth2 and management of membership subscription through Stripe API.

Requirements

Getting Started

First update /server/config/secrets.js with the following credentials:

Install dependencies with yarn install. Start the server with yarn dev.

TODOs

How to contribute

For the first time

File a task in Asana and assign it to @ryo to have you added to the collaborator list of straylightlabs Github repo. Then;

git clone https://github.com/straylightlabs/straylightportal
cd straylightportal
For the following times

First move to a feature branch. Use a short, but meaningful name.

git checkout master
git pull
git checkout -b <feature_branch_name>

Make changes and commit.

git commit -a

Before pushing it may be a good idea to clean up local commits. Do this only if you know what you are doing.

git rebase -i master

Push the branch to the remote repo.

git checkout master
git pull
git checkout <feature_branch_name>
git merge master  # If you chose not to git rebase
git push --set-upstream origin <feature_branch_name>

Go to GitHub page and create a new pull request and assign a reviewer. Unito will add a corresponding task in Asana within 5 mins with two-way sync, so you can use either Github or Asana for further communication.