Closed chanakafit closed 6 years ago
@chanakafit
It should be straightforward.
ng build --prod
api
and backend/dist
folders to your hostYou will need to update some configurations as well.
If you need further help, please let me know.
if we are setting up the app without the doker do we have to setup the database ourselves
@chrisleekr
I'm having trouble setting up the api without docker can u please explain what i should do
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
.
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.
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
Hey @chrisleekr
Thanku very much it worked perfectly
Can you provide a guide to set up the app without docker?