-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi 👋,
I was trying to set up this project for local development after I cloned the repo, but I found some difficulty in doing so. I think mostly it was just that I don't know Firebase that well and I also got this error after running npm start:

Then I realized the instructions to create that file wherein environment.ts, so I followed them and got the Angular app running locally 😃 .
Perhaps we could add some documentation on the README explaining the steps and the commands the person needs to run, and some docs on the project structure. This could help people that are not familiar with Angular and can't find the instructions that are on the code. For example the following:
Getting Started
Local Development for /functions
- Install Firebase CLI (Required)
...
Local Development for /hosting
- Clone the project or your fork (if you plan to make changes use your fork)
- Install dependencies by running the command
npm install
git clone https://github.com/codemortals/game-platform.git
cd game-platform/hosting
npm install- Create a Firebase account and a new project
3.1. Goto Project Overview and Add a "Web App", call this as you please for example; CodeMortals Development. If you need extra help, have a look at these docs
3.2 Create a file calledenvironment.local.tsin/hosting/src/environmentsand copy your app configuration in there
What do you think of this addition @andrew-cunliffe and @eddiejaoude ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels