0
stars
7
forks
source link
DrupalCamp Pune
Local development instructions.
Requirements
- Docker and DDEV
- Pantheon Integration
Set up instructions
- Clone repo to your local and navigate to cloned directory.
- Run
ddev composer install
- Take a pull from pantheon:
ddev pull pantheon
Theme development
- Go to the theme folder and run
ddev npm i
.
- To compile the theme:
ddev npm run build
Code quality
- Run
ddev phpcs
to check and fix code standard errors in your code.
Content Architecture
Sessions:
- Content type: Session.
- Session page: @todo: Add a page view of sessions at '/sessions'
Sponsors:
- Content type: Sponsor.
- Sponsors page: A page view of sponsors at '/sponsors'
Speakers:
- Entity type: User.
- Referenced from Speaker CT via author (uid).
- Speakers page:
- A page view of users with relationship added to Speaker content and condition: Speaker moderation state: Published.
- A block of single content is added to top of this page as Keynote Speaker. Condition: Field 'Keynote session': TRUE.
Schedules:
- Content type: Schedule.
- Fields: 'Schedule item' with reference to paragraph type 'Schedule' item.
- Schedule item:
- Paragraph with a field reference to a session/Or a text field for schedule items like 'Lunch', 'Break' etc.
- Other fields with details like Time, Location etc.
- Schedule page:
- Create 1 schedule node for each day of the schedule.
- Create a Landing page with Url alias
/schedule
.
- The quicktabs block for schedule items will automatically get placed on this page.
- Edit the 'Schedule' quicktab to configure which schedule nodes should appear on the schedule page.
- @todo: Add 'Schedule' quicktab node config to config ignore,