https://github.com/parisek/autonaoperak
https://github.com/parisek/autonaoperak
drupal-7
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/parisek/autonaoperak
- Owner: parisek
- Created: 2024-07-15T20:09:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-30T17:26:34.000Z (about 1 year ago)
- Last Synced: 2025-02-08T18:13:25.980Z (about 1 year ago)
- Topics: drupal-7
- Language: PHP
- Homepage: https://www.autonaoperak.cz/
- Size: 48.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to run
1. Install [ddev](https://ddev.readthedocs.io/en/stable/#installation)
2. Start docker with command `ddev start` in project root directory
3. Import database with command `ddev import-db --file=db.sql` (replace with actual db name)
4. Run `ddev describe` to view docker settings
5. Use `ddev stop`
6. Use `ddev drush status` to access Drush
7. Use `ddev ssh` and now you can use all commands
8. User `ddev auth ssh` or `ddev auth ssh -d ~/.ssh/ddev` to add keys
# Database dump
`ddev drush sql:dump --gzip --result-file=db.sql`
# How to use production database?
1. Remove domain autonaoperak.cz / autonaoperak.sk in table `languages`
2. Change prefix for sk language "sk"
3. Log in and visit https://autonaoperak.ddev.site/admin/config/regional/language/configure/url and change to "prefix"