Giter Club home page Giter Club logo

Comments (7)

jywarren avatar jywarren commented on September 13, 2024

I don't know if it's helpful, but I believe there should be some plausible seed data in the tests factories. It might be pretty minimal though.

from plots2.

sirMackk avatar sirMackk commented on September 13, 2024

Thanks for the tip! I'll be looking into this today :)

from plots2.

sirMackk avatar sirMackk commented on September 13, 2024

I update the seeds file to create:

  1. Three users - admin, moderator, and user, all with the password password.
  2. Wiki entries for routes under the main root ie. /about or /donate.
  3. A blog entry with a comment and a like.

Having these, the app doesn't throw errors and using it after forking is faster. Do you think I should add anything more or change something before I submit a PR?

P.S Code is under here.

from plots2.

jywarren avatar jywarren commented on September 13, 2024

That sounds perfect!
On Apr 23, 2014 10:56 AM, "sirMackk" [email protected] wrote:

I update the seeds file to create:

  1. Three users - admin, moderator, and user, all with the password
    password.
  2. Wiki entries for routes under the main root ie. /about or /donate.
  3. A blog entry with a comment and a like.

Having these, the app doesn't throw errors and using it after forking is
faster. Do you think I should add anything more or change something before
I submit a PR?

P.S Code is under herehttps://github.com/sirMackk/plots2/commit/d917e2f21549352d80871d7691a32a27b3f8fb05
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-41170962
.

from plots2.

jywarren avatar jywarren commented on September 13, 2024

Hi, sirMackk - finally getting the test server up, many apologies for the slowness, but we had a bunch of problems while trying to clone the production server. We ended up making a fresh server. But i ran rake db:setup and got this:

NameError: uninitialized constant DrupalNodeAccess
/home/warren/sites/test.publiclab.org/db/seeds.rb:49:in `block in <top (required)>'
/home/warren/sites/test.publiclab.org/db/seeds.rb:43:in `each'
/home/warren/sites/test.publiclab.org/db/seeds.rb:43:in `<top (required)>'

I don't think we need DrupalNodeAccess. Can i just remove those lines?

from plots2.

sirMackk avatar sirMackk commented on September 13, 2024

Yes - totally!

from plots2.

jywarren avatar jywarren commented on September 13, 2024

Forgot to close this ... Recently proved out by a completely fresh install I did on a new machine.

from plots2.

Related Issues (20)

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.