Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Open source member portal for coworking spaces. Built on top off binto-api. Accept new signups, make donations, and update member information.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 routes
Octocat-spinner-32 screenshots
Octocat-spinner-32 test
Octocat-spinner-32 .env.example
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Dalekfile.json
Octocat-spinner-32 Gruntfile.js
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 app.js
Octocat-spinner-32 package.json
README.md

binto-portal

An open source member portal for coworking spaces. Built on top off binto-api. Accept new signups, make donations, allow members to update and cancel their membership, and more.

Quickstart

  1. Setup binto-api.

  2. Run the following commands.

git clone https://github.com/riversideio/binto-portal.git
cd binto-portal
heroku create
heroku config:set BINTO_API=http://your-binto-api.herokuapp.com/api/v0/
heroku config:set PORTAL_TITLE=Riverside.io PORTAL_URL=http://riverside.io PORTAL_EMAIL=info@riverside.io
git push heroku master

You're done. Visit http://your-binto-portal.herokuapp.com.

Screenshots

Development Setup

  1. Setup binto-api locally and make sure it is running.

  2. Run the following commands.

npm install
cp .env.example .env
grunt server

Notes: The BINTO_API setting in .env. points towards the api that you would like to run the app against. TEST_USER and TEST_PASSWORD is a user in you test database that you can login with when using the automated test.

Additional Notes

Install CLI Tools

[sudo] npm install -g grunt-cli
[sudo] npm install -d dalek-cli

Starting up

grunt server

This command will do a number of things, compile template, watch files and start the app. Also a process will run that will allow the templates to recompiled once the files are changed

Technologies

  • nodejs
  • handlebars
  • jquery
  • stylus
  • requirejs

Testing

Do NOT test against the production api

So we use DalekJS to run automated BDD test. Right now the only browser configured is Google Chrome.

Make sure the dev dependecies are installed as well as Chrome.

to run the just use the command

npm test

This will open up Chrome and test the site based off the TEST_USER and TEST_PASSWORD. Note that sometimes these test can fail due to slow interent connections and not the new code. Please try and test on good connections.

Something went wrong with that request. Please try again.