Git Product home page Git Product logo

Comments (7)

chrisleekr avatar chrisleekr commented on May 27, 2024 1

Hi @sanojsilva

If you read Dockerfile as well as docker-entrypoint.sh, then you will see what process should be done with initialisation.

To answer your question, following commands will fix your database issue.

$ ./yii migrate --migrationPath=@yii/rbac/migrations --interactive=0
$ ./yii migrate/up --interactive=0

from yii2-angular-boilerplate.

chrisleekr avatar chrisleekr commented on May 27, 2024

@chanakafit

It should be straightforward.

  1. Build Angular apps by executing ng build --prod
  2. Upload api and backend/dist folders to your host

You will need to update some configurations as well.

If you need further help, please let me know.

from yii2-angular-boilerplate.

sanojsilva avatar sanojsilva commented on May 27, 2024

if we are setting up the app without the doker do we have to setup the database ourselves

from yii2-angular-boilerplate.

sanojsilva avatar sanojsilva commented on May 27, 2024

@chrisleekr

I'm having trouble setting up the api without docker can u please explain what i should do

from yii2-angular-boilerplate.

chrisleekr avatar chrisleekr commented on May 27, 2024

Hi @sanojsilva

Just download XAMPP in your desktop and setup MySQL database.

And update Yii2 db configuration which is located in /api/config/db.php.

from yii2-angular-boilerplate.

sanojsilva avatar sanojsilva commented on May 27, 2024

Hey @chrisleekr
I have successfully setup the application with xampp. but there is a table missing -> auth_item_child.
if you could put the table creating queries that would be great. And Just want to tell you This project is great. Nice Work.
Thank You.

from yii2-angular-boilerplate.

sanojsilva avatar sanojsilva commented on May 27, 2024

Hey @chrisleekr

Thanku very much it worked perfectly

from yii2-angular-boilerplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.