An open API service indexing awesome lists of open source software.

https://github.com/parisek/autonaoperak


https://github.com/parisek/autonaoperak

drupal-7

Last synced: 10 months ago
JSON representation

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"