This project is an online extension of the player's handbook used in Dungeons and Dragons. Currently this project keeps track of player notes (friends, foes, and general info) and character information. The project uses firebase, with ember-fire, for authentication and database storage. The UI is designed with ember paper, and ember trix editor for input.
This README outlines the details of collaborating on this Ember application.
You will need the following things properly installed on your computer.
- Git
- Node.js (with NPM)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd curse-of-strahd-companion
npm install
- Setting up Firebase
- Sign up for a Firebase account
- Create a new Firebase app from the Firebase Console
- Enable Authentication
- Under the Develop Section select Authentication
- Click on the Sign-in Method
- Click on the edit icon on the Google section
- Enable Google Authentication
- Enable Storage
- Under the Develop Section select Database
- Choose the Realtime Database option and click Get Started
- Select Start in test mode and click enable
- Set up local authentication
- Find the gear in the top left next to Project Overview
- Grab the Project ID and Web API Key you'll need those for your Firebase environment variables
FIREBASE_API_KEY="your_firebase_api_key" FIREBASE_PROJECT_ID="your_firebase_project_id" npm run start
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)