Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup the app without docker #12

Closed
chanakafit opened this issue Jun 4, 2018 · 7 comments
Closed

setup the app without docker #12

chanakafit opened this issue Jun 4, 2018 · 7 comments

Comments

@chanakafit
Copy link

Can you provide a guide to set up the app without docker?

@chrisleekr
Copy link
Owner

@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.

@sanojsilva
Copy link

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

@sanojsilva
Copy link

@chrisleekr

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

@chrisleekr
Copy link
Owner

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.

@sanojsilva
Copy link

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.

@chrisleekr
Copy link
Owner

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

@sanojsilva
Copy link

Hey @chrisleekr

Thanku very much it worked perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants