team-durumi / kyeol-composer

일본군'위안부'문제연구소 웹진 결 / 영문개발
1 stars 0 forks source link

일본군'위안부'문제연구소 웹진 결

일본군‘위안부’문제연구소는 ‘위안부’ 문제에 관한 체계적인 조사와 연구를 수행하고, 국민의 이해를 돕기 위한 교육과 홍보를 진행하기 위해 2018년 8월 한국여성인권진흥원에 개소하였습니다.

웹진 <결>은 ‘위안부’ 문제에 관한 연구자의 활동을 장려하고, 국민들의 관심을 모으고, 일반 대중의 이해를 높이고자 연구소가 발행하는 웹진입니다.

해당 프로젝트는 2019년 ~ 2024년 운영되고 있습니다.(team - durumi)

sudo service apache2 stop && sudo service php7.3-fpm stop
echo 'user_allow_other' | sudo tee -a /etc/fuse.conf
rclone mount drive-kyeol:/ /data/kyeol/ --daemon --allow-other
sudo service apache2 start && sudo service php7.3-fpm start

# 프로젝트에 구글 드라이브 추가
ln -s /data/kyeol/ /var/www/kyeol-composer/drive

# 개발 시 파일 동기화
rsync -avzn kyeol:/data/kyeol/ ./drive/data/

# 파일 디렉토리 심볼릭 링크
ln -s /data/kyeol/data/files /var/www/kyeol-composer/web/sites/default/

composerfiy fix

cd {{ project-dir }}
scp -r kyeol:/var/www/kyeol-composer/web/sites/all/libraries web/sites/all/
scp -r kyeol:/var/www/kyeol-composer/web/sites/all/modules/ckeditor/plugins/ web/sites/all/modules/contrib/ckeditor/

# http://localhost:8080/admin/config/content/ckeditor/edit/Full
# 편집기 모양 > Support for Linkit module => 껏다 켜기

mysql 8 error fix

sudo mysql -uroot
ALTER USER 'ubuntu'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;

patches

Modules for multilingual drupal (entity translation, i18n)

$ drush -y en entity_translation title
$ drush -y en i18n_select i18n_variable i18n_string i18n_block
$ drush -y en i18n_menu i18nviews

영문 사이트 정보

카테고리 확정(12.17)

영문 일반 페이지

/en/comfort-women
/en/rimss
/en/kyeol

영문 홈페이지 구조

@see webzine_preprocess_page (near bottom)

다국어 번역 설정 작업 상세 내역

언어 설정

$ drush -y en entity_translation title

엔티티 번역 설정 /admin/config/regional/entity_translation

콘텐츠 유형 수정하기 admin/structure/types/manage/article/fields

분류 수정하기

엔티티 번역 설정

drush -y en i18n_block i18n_menu i18n_select i18n_string i18n_variable i18nviews

다국어 변수 설정

문자열 번역 설정

사이트 정보 설정

홈페이지 슬라이드 설정

홈페이지 최신 글 블록용 뷰 추가

영문용 Resources 콘텐츠 유형 및 뷰 생성