Badgeyay provide an interface to event organizers for generating badges of events from concerts to conferences and meet-ups.
Badgeyay is a Badge generator with a simple web UI to add data and generate printable badges in a PDF.
This directory contains the frontend for badgeyay.
Note to mobile users: On google chrome of mobile device, you need to disable data saver option in settings to open the website. Try clearing cache and cookies if the problem still persists.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome (for testing purposes only)
To install the app, run the following commands in a command line:
git clone https://github.com/fossasia/badgeyay
cd badgeyay/frontend
npm install
bower install
To run the app locally on your machine, run the following commands in a command line:
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
For deploying on Kubernetes, you need following things properly installed on your local machine:
-
- Visit the Kubernetes Engine page in the Google Cloud Platform Console.
- Create or select a project.
- Wait for the API and related services to be enabled.
docker-machine create --driver virtualbox default
docker-machine env default
eval "$(docker-machine env default)"
gcloud components install kubectl
export PROJECT_ID="$(gcloud config get-value project -q)"
docker build -t gcr.io/${PROJECT_ID}/badgeyay:v1 .
(Build Container Image)gcloud docker -- push gcr.io/${PROJECT_ID}/badgeyay:v1
(Push Container Image)gcloud container clusters create badgeyay-cluster --num-nodes=3
(Create Container cluster)kubectl run badgeyay-web --image=gcr.io/${PROJECT_ID}/badgeyay:v1 --port 4200
(Deploy your application)kubectl expose deployment badgeyay-web --type=LoadBalancer --port 80 --target-port 4200
(Expose deployment over the Internet)kubectl get service
- Copy the External-IP from the showed list corresponding to your cluster's name and run it in your browser.
You will need the following things properly installed on your computer.
Git Node.js (with NPM) Ember CLI PhantomJS Running Locally
$ git clone https://github.com/fossasia/badgeyay
$ cd badgeyay/frontend
$ yarn install
$ ember server
Your app should now be running on localhost:4200.
$ heroku create --buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
$ git push heroku master
$ heroku open
- Heroku Ember.js Buildpack
- ember.js
- ember-cli
- Development Browser Extensions