Files
farmOS-dev/README.md
2024-12-10 15:09:26 +01:00

11 lines
450 B
Markdown

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);