Git Product home page Git Product logo

limestone's People

Contributors

aeksco avatar archonic avatar caseyprovost avatar dependabot[bot] avatar ellimist avatar mareksuscak avatar paynegreen avatar udkl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

limestone's Issues

Limestone + RVM

After running the following command:

docker-compose run web yarn install --pure-lockfile

I get the following error:

Step 7/15 : RUN bundle install
 ---> Running in 92d984434d85
Your Ruby version is 2.7.1, but your Gemfile specified 2.7
ERROR: Service 'web' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 18

When checking my ruby version:

limestone · master ⟩ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]

I know I must be missing something obvious. But since this project uses docker, my local ruby version should not matter.

Webpack / Webpacker configuration issues

Known issues include:

  • Double compiling. Saving a file has the webpack service compile, and then refreshing the page has the website compile.
  • Making changes to imported files doesn't make a difference to bundled output unless application.js or application.scss is changed. (this is normal due to how webpack watch works)
  • Including /app/assets stuff in /app/javascript seems to be non-standard (is it?). It can't process requires so there isn't much point. (correct!)

Asides from these config issues, it's been hard translating example webpack configs into a webpacker compatible environment.js file. The abstraction so far has been hurting more than helping.

Issues with Docker

Apparently I've been running into some trouble with Docker but I'm certain it's not that complicated. My experience would tell me this is just a conflict of ports between my own local machine and Docker's redis and postgres containers.

I'm pretty lost as to where I would even begin to change settings for which port to use on compose. I have to rebuild the bundle each time I try something new on a new configuration.

ERROR: for squad_redis_1 Cannot start service redis: driver failed programming external connectivity on endpoint squad_redis_1 (c478b03bbdd6142824f4301b241c70a3c69fb9ccc6cca2c3dabf36315ed12a46): Error starting userland proxy: listen tcp4 0.0.0.0:6379: bind: address already in use

ERROR: for postgres Cannot start service postgres: driver failed programming external connectivity on endpoint squad_postgres_1 (83ab1031e351424120617a313502a267523ee2a52d37ee29bde5bb5513fa5521): Error starting userland proxy: listen tcp4 0.0.0.0:5432: bind: address already in use

Node Modules not installing on a fresh environment

With RUN yarn --pure-lockfile in the Dockerfile, setting up a new environment should be possible with just docker-compose up --build. For some reason docker-compose run webpacker yarn install --pure-lockfile is required.

issue: running the project

Step 4 of the setup process triggers the following error. ERROR: No such service: webpack

Screen Shot 2020-03-16 at 6 30 31 PM

Although running step 5 does seem to work to an extent it fails at later stages.
Screen Shot 2020-03-16 at 6 33 04 PM

I suspect it might be related to step 4 not getting completed properly but I might be wrong. Any suggestions.

Note: I am on Mac OS Mojave. Docker & Postgresql services are running
@archonic

Add note to README detailing Stripe API key requirement

Realized after provisioning the Docker containers that you need to have STRIPE_* environment variables defined in order for the docker-compose exec web rails db:setup to succeed.

We should add a note to README.md detailing this requirement 👍

Integrate Pay gem

The pay gem is mature enough for production use. Integrate it!

This also requires changing the receipt strategy and the Role behaviour. In fact role should be removed - billing status should rely on Pay methods.

Production Instructions

Minimal working Kubernetes deploy instructions would be handy in a wiki article. Especially if it works with Codeship or CircleCI.

Expectations:

  • SSL (probably using CloudFlare)
  • Nginx ingress
  • Cloud SQL service assumption (no Postgres container)
  • Redis service? Trying to create my own HA Redis didn't go well. Should we assume people want to use MemoryStore or AWS Redis?
  • Containers? Sidekiq and Rails on the same container? Separate containers is very RAM heavy and guarantees uncompetitive costs VS VPS and Heroku.

Running tests on codeship creates plans in Stripe

Running tests locally with docker-compose exec website rspec does not create plans in Stripe, but pushing to master and running tests on Codeship does. This is despite this line in app/models/plan.rb:

CreatePlanService.new(self).call unless Rails.env.test?

Not sure why this is happening.

"Payment method invalid"

Just need to update Pay to fix this. While working on this however it would be worthwhile to update to Pay 3.x which makes architectural changes.

Issues with administrate assets

Hi @archonic,

I'm experimenting with limestone to use in my latest venture and finding it pretty great so far!

I think your latest commits to the master branch may have introduced a bug with administrate assets, however my fork already has some diverging changes so maybe it's on my side.

I've added these lines to sprockets manifest.js to fix the issue.

//= link administrate/application.css
//= link administrate/application.js

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.