This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.contextPath=/ | |
debug=true | |
# Spring data source needed for Spring boot to behave | |
# Pre Spring Boot v2.0.0.M6 without below Spring Boot defaults to tomcat-jdbc connection pool included | |
# in spring-boot-starter-jdbc and as compiled dependency under spring-boot-starter-data-jpa | |
spring.datasource.type=com.zaxxer.hikari.HikariDataSource | |
spring.datasource.url=jdbc:postgresql://localhost:5432/somedb | |
spring.datasource.username=dbuser | |
spring.datasource.password=dbpassword |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profiles> | |
<profile> | |
<id>tomcat</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-web</artifactId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Igor: for git branch in command prompt | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
export PS1="\[\033[01;38;5;117m\]\u@\h:\[\033[01;38;5;120m\]\w \[\033[33m\]\$(parse_git_branch)\[\e[00m\]\\n└─\$ " | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://xandeadx.ru/blog/drupal/450 | |
Drupal → Обновляем Drupal 6 до версии 7 | |
Опубликовано в сб, 01/10/2011 - 04:19 | |
drupal | |
Записываем список включённых модулей со страницы admin/build/modules. Drush юзеры могут воспользоваться командой drush pm-list --status=enabled. | |
Отключаем, деинсталлируем и удаляем неиспользуемые модули. Аналогично поступаем с модулями, которые больше не понадобятся на Drupal 7 (например admin_menu, poormanscron и т.д.). Uninstall делается на странице admin/build/modules/uninstall. | |
Обновляем Drupal 6 до последней минорной версии (если нужно). Drush юзеры могут воспользоваться командой drush up drupal. |