Skip to content

CreativeBufferOfficial/angular-sample

Repository files navigation

Running the Application Locally

  1. Install Node.js and MongoDB on your dev box

  2. Execute 'mongod' to start the MongoDB daemon if it's not already running

  3. Install Nodemon: npm install nodemon -g

  4. Open config/config.development.json and change the host from mongodb to localhost

  5. Run npm install to install app dependencies

  6. Run npm start to compile the TypeScript and start the server

  7. Browse to http://localhost:3000

Running the Application with Docker

  1. Install Docker for Mac/Windows or Docker Toolbox - https://www.docker.com/products/overview

  2. Open a command prompt window

  3. Run npm install

  4. Run npm run tsc:w to compile TypeScript to JavaScript locally (leave the window running). This is only needed when in "dev" mode.

  5. Open another command window and navigate to this application's root folder in the command window

  6. Run docker-compose build to build the images

  7. Run docker-compose up to run the containers

  8. Navigate to http://localhost:3000 if using Docker for Mac/Windows or http://192.168.99.100:3000 if using Docker Toolbox in a browser

  9. Live long and prosper

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published