Code Monkey home page Code Monkey logo

Comments (5)

tbuteler avatar tbuteler commented on June 26, 2024

The performance_indicators belongs to Spark migrations, not Clumsy. I cannot think of a reason why it would error out with that message, unless it failed to register the migration in the appropriate table after running.

Have your tried clearing the database and starting over?

You don't necessarily need to define an admin route. Whatever route you add the clumsy middleware to will automatically become and "admin" environment.

I'll see if I can mix Spark and Clumsy sometime soon and get back to you. If in the meantime you make any progress, let me know.

from clumsy.

SYPOMark avatar SYPOMark commented on June 26, 2024

Hi Tomas,

Thanks for getting back to me.

I'll see if I can mix Spark and Clumsy sometime soon and get back to you. If in the meantime you make any progress, let me know.

...meanwhile, I'm going to set up a completely fresh install of Laravel with just Clumsy on top and see what happens. Probably could have tried that before. But, it would be good if you could try mixing Spark and Clumsy to see what you get.

I await the results of your investigation with interest.

With kind regards,

Mark

from clumsy.

tbuteler avatar tbuteler commented on June 26, 2024

Hi Mark,

I've tested a fresh installation of Spark with Clumsy and was able to migrate back and forth without any problems. Can you backup your stuff and start over from scratch?

I'm guessing you had a problem during one of your migrations which prevented you from completing it, but your database was somehow compromised during the process.

Any other information you can provide would help to debug your particular case, but I'm confident this is not an issue with Clumsy itself.

from clumsy.

SYPOMark avatar SYPOMark commented on June 26, 2024

Hi Tomas,

Thanks for your continued help with this.

I have realised something after having started from scratch with a fresh Laravel and just Clumsy...

After running php artisan clumsy:resource post the CLE came up with the following messages:

- Add this to your routes.php: Route::resource('post', 'PostsController');
and
- Add this to DatabaseSeeder.php: $this->call(PostsSeeder::class);

and I didn't quite know what to do with this stuff. I've now worked out that I didn't need to edit routes.php, but web.php, found in clumsy/routes, and the exact code I needed to add there, you provide in your instructions. The code for DatabaseSeeder.php was easy to add in.

Once I'd done that, running php artisan migrate was successful in creating the posts table and a visit to http://example.co.uk/admin/post showed me your CMS.

Thanks again for your help. It turns out there was no issue! Smashing.

With kind regards,

Mark

from clumsy.

tbuteler avatar tbuteler commented on June 26, 2024

The instructions to edit routes.php are outdated, thanks for pointing it out. I'll fix this when I have time. Glad to know you're issue is resolved!

from clumsy.

Related Issues (1)

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.