Code Monkey home page Code Monkey logo

pwb-for-heroku's Introduction

June 2022 update

PropertyWebBuilder is now a standalone Ruby on Rails app (it is no longer a Ruby on Rails engine)

This project was only needed as a shell for loading the PropertyWebBuilder engine. As this is no longer needed this project has been discontinued. You can now deploy PropertyWebBuilder directly!

For more about PropertyWebBuilder see:

PropertyWebBuilder

Also, I am currently working on a tool to help with house hunting and would love to get some feedback about it.

Please check it out here and let me know what you think (and if you would like it to be open-sourced):

https://propertysquares.com/

pwb-for-heroku's People

Contributors

dependabot[bot] avatar etewiah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pwb-for-heroku's Issues

how do i get this to work

Hi there.
I am really new to this system, but really want to use the website.
i have followed your instructions, but when i try to do $heroku create is says:

"$ heroku create
The system cannot find the path specified.
"
please help

Import data from csv not working

Expected Behaviour: download the csv from property list and made modification then use import data from csv to laod back to PWB

Actual Behaviour: Return message saying file invalid.

Steps to reproduce the issue: download the csv from property list page and upload it from import data from csv page, error message, file invalid.

Still can't get the Bulgarian language in Admin UI working

Recently, i've committed a patch to add Bulgarian language.
Some changes were needed to made it work in admin panel, and I actually saw the commit there.
However, when I open /bg/admin/dashboard I still see everything in English and the selected flag is also the British one.

Chrome web developer tools also reveals that it loads /api/v1/translations/list/en, while it should be 'bg'.

Here are part of the log, printed by the application:

D, [2018-02-27T13:56:35.168494 #42] DEBUG -- : [a3f20410-275c-498c-8ef0-d82f43811a2d]   Pwb::User Load (0.4ms)  SELECT  "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
I, [2018-02-27T13:56:35.169683 #42]  INFO -- : [a3f20410-275c-498c-8ef0-d82f43811a2d] Processing by Pwb::AdminPanelController#show as HTML
I, [2018-02-27T13:56:35.169782 #42]  INFO -- : [a3f20410-275c-498c-8ef0-d82f43811a2d]   Parameters: {"locale"=>"bg", "path"=>"dashboard"}
I, [2018-02-27T13:56:35.171030 #42]  INFO -- : [a3f20410-275c-498c-8ef0-d82f43811a2d]   Rendering /usr/local/bundle/bundler/gems/property_web_builder-35846839ae41views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
I, [2018-02-27T13:56:35.171299 #42]  INFO -- : [a3f20410-275c-498c-8ef0-d82f43811a2d]   Rendered /usr/local/bundle/bundler/gems/property_web_builder-35846839ae41views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
I, [2018-02-27T13:56:35.172534 #42]  INFO -- : [a3f20410-275c-498c-8ef0-d82f43811a2d] Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)
I, [2018-02-27T13:56:35.601508 #42]  INFO -- : [24f043ac-f8e8-4c0d-bb7a-cc6f20b28a70] Started GET "/api/v1/translations/list/en" for 172.17.0.1 at 2018-02-27 13:56:35 +0000

Could it be that the Bulgarian language got committed only in pwb, but not in pwb-for-heroku?
E.g. here -> https://github.com/etewiah/pwb-for-heroku/tree/master/public/assets/pwb_admin_panel

Contributing

I would love to help out with the project, and as you said thw documentation could be a starting point, but at the moment is not very clear how will that happen, (I will read more on how github works) do I have to make all the changes in my fork and wait for you to pull from it?
will the wiki be treated as code and merge to your repo with a pull request too?
looks like the first contribution could be How To Contribute Page :)
Thanks

looking for the _footer.html.erb

Hi there.
I can find this file in the 'etewiah/property_web_builder' but not in the 'etewiah/pwb-for-heroku'

please help as there is some code i would like to add and then update the page.
will also need to know how to do that.

many thanks

Configuring Sendgrid for heroku

From @cesarem:

I created a new app in heroku, provisioned sendgrid following the steps from https://app.sendgrid.com/guide/integrate/langs/ruby, also added the missing line "sendgrid:starter" to app.json but still not sending any mail.
Using the test script works fine:
require 'sendgrid-ruby' include SendGrid from = Email.new(email: '[email protected]') to = Email.new(email: '[email protected]') subject = 'Sending with SendGrid is Fun' content = Content.new(type: 'text/plain', value: 'and easy to do anywhere, even with Ruby') mail = Mail.new(from, subject, to, content) sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY']) response = sg.client.mail._('send').post(request_body: mail.to_json) puts response.status_code puts response.body puts response.headers
No errors in logs, actually it seems to work fine: Pwb::EnquiryMailer#general_enquiry_targeting_agency: processed outbound mail in 1504.8ms.
Any other idea?
Thank you.

Missing seeds affecting default admin account (lack thereof) and some translations

Hi Ed. I have deployed this repository onto Heroku and I think the entire "seeds" inside /db is missing as compared to the primary repository here:
https://github.com/etewiah/property_web_builder

As a consequence you don't get a default admin account. You can of course create a new user then change the user level with psql but I don't think this is intended. Also there are some missing translations under the New Property tab which can be found inside the translations.rb file in the original repository.

Is there any reason why you are maintaining these as two separate repositories?

Update

HI, once installed how do I update to the latest version?

Rake aborted

when i triy rake:seed i got this error

rake aborted!
NoMethodError: undefined method `new' for Google:Module

screenshots etc

This issue is to allow me to save screenshots for this repo.

Heroku error - not permitted to install the sendgrid add-on at this time

Opening this issue on behalf of a user who emailed me with the following:

I'm receiving the following error during installation: The account "*@.com" is not permitted to install the sendgrid add-on at this time. If you believe this is an error please contact support and reference ID 1e8984bd-e1f1-4daa-ba11-c86d5ee25178 when opening an ticket.

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.