Skip to content

Docs: Add "Getting Started" guide to README #34

@BOLT04

Description

@BOLT04

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:
imagem

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

  1. Install Firebase CLI (Required)
    ...

Local Development for /hosting

  1. Clone the project or your fork (if you plan to make changes use your fork)
  2. Install dependencies by running the command npm install
git clone https://github.com/codemortals/game-platform.git
cd game-platform/hosting
npm install
  1. 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 called environment.local.ts in /hosting/src/environments and copy your app configuration in there

What do you think of this addition @andrew-cunliffe and @eddiejaoude ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions