OFFLINE-GmbH / octobertricks.com

October CMS resources and help articles
https://octobertricks.com
MIT License
40 stars 17 forks source link

Installation issues #4

Closed alxy closed 5 months ago

alxy commented 5 years ago

Currently, it is not so easy to get this project up and running for development. The process described in the README does not work in the current form, as the bootstrapper will fail with errors, as it cannot run any artisan commands. I debugged this case and appears that this is because of the fact that the OFFLINE.Tricks plugin requires RainLab.User, which is not available on the first artisan calls. This causes a whole chain of new errors, the first one beeing that the database cannot be migrated, as the env command already errors out.

Next, the project should provide some seed data (tricks, topics, ...), as without this data there are various other errors which prevents developers from using the plugin for development right away.

And a minor note: The trick's topic should be required in the backend as well, just as it is required on the frontend form.

pvullioud commented 4 years ago

Hi @alxy I'm doing a seed command for this project

LarryBarker commented 4 years ago

@alxy Are you still having issues? Just wanted to chime in here and say that I have set this project up successfully, both at the office and at home. I did not see the seeder originally, and had an issue trying to create a test trick. The seeder works great, and is a wonderful example of how to seed large amounts of data, something I have struggled with in previous projects.

@pvullioud I do have questions about how oc-boostrapper affects version control. After running october install there are a number of files that are now tracked. Obviously I need them locally, but don't want to commit. How do you handle this process?

image

tobias-kuendig commented 4 years ago

You can just git reset the files that were modified. Once your .env has been written the rest can be discarded. It's probably because your template files have been copied over the ones in the repo, this are the changes you see.