alfresco-content-app/docs/getting-started/building-from-source.md
Andy Stark a46e16c28a [ACA-2157] Fixed structure, markup and links (#904)
* [ACA-2157] Added brief description and updated links

* [ACA-2157] Fixed broken image URL
2019-01-23 07:45:31 +00:00

1.2 KiB

Title
Title
Building from source

Building from source

The Content App is based on Angular CLI, and you can use all the commands, generators, and blueprints supported by the CLI.

Prerequisites for building

Cloning and running

Use the following commands to clone the project, install dependencies and run it.

git clone https://github.com/Alfresco/alfresco-content-app.git
cd alfresco-content-app
npm install
npm start

The application runs at port 4200 by default, and should automatically open in the default browser once the project has compiled.

Proxy settings

The Content App provides a proxy configuration for a local development server that allows you to address specific scenarios with CORS and a native authentication dialog.

You can find settings in the "proxy.conf.js" file in the project root directory.

Note: The proxy settings get automatically applied every time you run the application with the "npm start" script. You must restart the application every time you change its settings.

Running unit tests

Run npm test to execute the unit tests via Karma.