Skip to content

Initial data / data example? #36

@bagage

Description

@bagage

I'm trying to host an instance locally, but yet my database is empty and it seems the app expects some data to be already present (for instance games with source mango).

Is there a way to have a working local copy?

I tried to manually create these data (and probably doing it wrong) without success yet:

User.create(email: "admin@admin.com", username: "admin", admin: true, password: "1234")
Api.create(name: "api-test")
Game.create(name: "game1", slug:"game1", source:"mango", image_url: "https://github.com/flightlessmango/flightlessmango.com/raw/master/app/assets/images/mangoLogoSmall.png")
Type.create(name: "type1")
Variation.create(name: "var1", type_id: 1)

Also some MANGO/OCAT/HML and game benchmark samples would be great.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions