sheng

Joined

560 Experience
5 Lessons Completed
0 Questions Solved

Activity

Posted in Vue.js Trello Clone in Rails - Part 8 Discussion

I am trying to extract mutations and store into its own store folder with store.js file. However, this.$store in Rails.ajax function is not working, it is returning undefined. While this.$store in other functions like computed is working fine.

Can find the code here: https://github.com/chickensmitten/trello-clone-vue-rails/commit/2a15ca60bfcedb55da5005421f8868a5e88a1e55

Posted in Why this error ? how I fix this.

From the code, most likely that patient does not have an address. Have you tried using byebug or pry to take a look?

Posted in Why this error ? how I fix this.

To help me troubleshoot better, can you share all the attributes for the Patient Class and share the entire code for Patient model?

Posted in How do I deploy Spree Commerce to Heroku?

Good to know you have experience with Spree.

As for guides on how to deploy to production on AWS, for Elastic Beanstalk, maybe can take a look here (https://www.codewithjason.com/deploy-ruby-rails-application-aws-elastic-beanstalk/). For ec2, try this (https://ogdenstudios.xyz/blog/how-do-i-deploy-a-rails-6-app-to-amazon-ec-2/)

Generally, Spree and rails are relatively the same thing. So instead of searching for Spree + whatever services, try searching for rails + whatever services. You may have more luck there.

Posted in How do I deploy Spree Commerce to Heroku?

In any case, if you follow the instructions from spree gem, you should be able to create your rails app locally. Then, follow the instructions here to deploye to heroku: https://devcenter.heroku.com/articles/getting-started-with-rails6

It should not be hard to deploy to heroku. If you have more questions feel free to ask. Good luck. 😊

Posted in How do I deploy Spree Commerce to Heroku?

Hi, may I know what stage are you at right now with your application? Have you created a rails app following these instructions from the spree gem? https://github.com/spree/spree

If you have, where are you stuck specifically for the deployment to heroku?