Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Greg Lind
    @glind
    The new buildly and buildly.io community on Gitter. Post some questions and hopefully someone will be able to answer them
    Zhenyu
    @Sampandu
    Hi there, after installing the buildly-ui-angular, I can't login with the username admin and password admin at the localhost:4200/. The buildly-core is installed and the webserver was running. However, I got an error: Request failed with status code 400. Does anyone could help figure it out?
    Greg Lind
    @glind
    Hi @Sampandu I think it might be helpful if we can see the request from the Network console, so if your running in chrome if you could show us the general request header and the full response. What we would want to see is if the buildly-ui-angular was configured to point to your localhost:4200 url or something else as a place to start. Thanks
    Jeferson Moura
    @jefmoura
    @Sampandu it was an inconsistency between the README file and the application. The problem is solved in the latest version that was issued today.
    Zhenyu
    @Sampandu
    @glind @jefmoura thanks for your reply, I will go see if it is workable now.
    Jeferson Moura
    @jefmoura
    @Sampandu Thank you for your contribution and trying it. If you have any other problem or question, just drop another message and we'll reply you asap. :D
    Zhenyu
    @Sampandu
    @glind @jefmoura I clone the latest version of buildly-core and run the webserver locally, then run the buildly-ui-angular and fail to login in with 'admin' as username and password. I get the same error: Request failed with status code 400. The info from the Network console is as below:
    network2.png
    Zhenyu
    @Sampandu
    And I notice that the base URL of buildly-core is 127.0.0.1:8080/, and in the buildly-ui-angular/src/environments/environment.ts, the API_URL is set to http://0.0.0.0:8080/, I was wondering if this is the setting that links the angular app to the buildly-core server? I try to modify this environment file as below:
    environment.png
    but I still can't login with 'admin' as username and password. The info from the Network console is as below:
    network.png
    Is there anything I didn't set up correctly?
    Zhenyu
    @Sampandu
    Besides, I clone the buildly-ui-react and follow the doc to install the dependencies, however, it fails to compile after running 'npm start' with module not found error
    ReactCompile.png
    Zhenyu
    @Sampandu
    My node version is 10.16.3, my webpack version is 4.41.0
    Jeferson Moura
    @jefmoura
    @Sampandu Thank you for the screenshots and explanation. We'll investigate that and come back to you asap. These are the versions we're using to build the react version of the application:
    node v10.16.0
    npm 6.9.0
    yarn v1.17.3
    webpack 4.40.2
    Jeferson Moura
    @jefmoura
    @Sampandu Thank you again for your contribution.
    • We've managed to install all dependencies and build the applications, so we also created two short markdown files going through the whole process to help you to run the apps locally. I'll share the installation process here and will also add to the applications' README.
    • Regarding the IP address 0.0.0.0 and 127.0.0.1, it shouldn't affect the application behavior in our context even though they can different meaning in another context.
    • As you've pulled Buildy Core latest changes, you need to re-create your containers, so I'd like to ask you to run the following commands in your Buildy Core clone:
      > docker rm buildly rabbitmq_buildly postgres_buildly
      > docker-compose up
      These commands will remove the old containers and recreate them. Thank you again for your contribution.

    Buildly UI Angular

    Install NodeJS and npm

    > curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
    > sudo apt-get install -y nodejs

    Install dependencies

    > npm install --save-dev
    > npm run init

    Install Angular CLI

    > npm cache clean --force
    > npm install -g @angular/cli@latest

    Build and Run application

    > ng build
    > ng serve

    Buildly UI React

    Install NodeJS and npm

    > curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
    > sudo apt-get install -y nodejs

    Install yarn and gulp cli

    > curl -o- -L https://yarnpkg.com/install.sh | bash
    > export PATH="$HOME/.yarn/bin:$PATH"
    > yarn global add gulp-cli

    Install dependencies and build app

    > yarn install
    > yarn run init
    > yarn run build

    Run application

    > yarn run start
    Zhenyu
    @Sampandu
    @jefmoura Thanks for your reply and illustration in detail. I will give it a trial and keep you posted.
    Jeferson Moura
    @jefmoura
    ok.. thanks
    Zhenyu
    @Sampandu
    @jefmoura I can run the Buildly-UI-React locally, but I still can't login yet. The error is as below:
    error.png
    Do I miss something in the configuration? Thanks for your time and look forward to hearing from you.
    backend.png
    And this is the info from the buildy-core