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!
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:
Also some MANGO/OCAT/HML and game benchmark samples would be great.
Thanks!