cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to get application to run

brieweb
Champ on-the-rise
Champ on-the-rise

I started the Alfresco Docker image and it seems to start

https://docs.alfresco.com/content-services/community/install/containers/docker-compose/

I did the following and it starts.

git clone https://github.com/Alfresco/acs-deployment.git
cd acs-deployment/docker-compose
docker-compose -f community-compose.yaml up
http://localhost:8080
Log in using
admin admin

Now I am trying to start app that will connect to ACS.

https://www.alfresco.com/abn/adf/docs/getting-started/

I clone git clone https://github.com/Alfresco/alfresco-content-app.git

It says to edit `.env` file with the contents. `API_CONTENT_HOST="https://..."`

Instead, I place API_CONTENT_HOST="http://localhost:8080" into the `.env` file.

I do an `npm start` for the `alfresco-content-app` and it launches at http://localhost:4200. I try to log in using admin/admin, but it says invalid username password. Did I configure the value for `API_CONTENT_HOST` incorrectly? What error did I make?

3 REPLIES 3

roberto_gamiz
Star Collaborator
Star Collaborator

Hello,

The property you need to set up to point to alfresco repository in .env file is called BASE_URL.

 https://github.com/Alfresco/alfresco-content-app#running

Regards




 Roberto Gámiz Sánchez

Alfresco Content Services Engineer



Hello,

That property was used in previous versions of the aplicatión. It was removed in this commit
https://github.com/Alfresco/alfresco-content-app/commit/7ab4cc5e5333398986dd5a89443690c15a7c9feb

So I think that tutorial is outdated. Its release note page for adf components go up just to 6.0.0 version (https://www.alfresco.com/abn/adf/docs/release-notes/) and this version is from 2013.

Regards




 Roberto Gámiz Sánchez

Alfresco Content Services Engineer



brieweb
Champ on-the-rise
Champ on-the-rise

I put the contents in the .env file and I was able to start the angular app and connect using admin/admin. Is the API_CONTENT_API variable referenced in the tutorial an error?

BASE_URL="http://localhost:8080/"