added README.md

This commit is contained in:
2024-12-10 15:09:26 +01:00
parent e14eb2d8fd
commit 4699cdf68a

11
README.md Normal file
View File

@@ -0,0 +1,11 @@
This is the development evironment for my farm_agrikern drupal module
# IMPORTANT:
Always delete all entities and uninstall module before creating a commit!
# Host site locally
php -S localhost:8080 -t web/
# Update module entities
./vendor/bin/drush entity-updates
# Reinstall module
./vendor/bin/drush devel:reinstall farm_agrikern
# In case reinstall fails with: no such table {tablename}
CREATE TABLE {tablename} (id INT, deleted INT);