Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup script for new events #173

Merged
merged 3 commits into from
May 2, 2016
Merged

Setup script for new events #173

merged 3 commits into from
May 2, 2016

Conversation

bridgetkromhout
Copy link
Collaborator

  • template changes to be more scriptable
  • sample event fixes

This is related to #8 but perhaps covers a bit different ground; instead of starting from hugo new I'm starting from a sample event (content files and yaml).

I'm also removing the proposals.md file entirely since we're no longer doing that.

A sample run:

Bridgets-MacBook-Air:devopsdays-web bridget$ ./make_new_event.sh 
Enter your event year (default: 2016): 
Enter your city name: Silicon Valley
Enter your devopsdays event twitter handle (defaults to devopsdays):@devopsdayssv
Bridgets-MacBook-Air:devopsdays-web bridget$ git status
On branch bridget-new-event-setup
Untracked files:
  (use "git add <file>..." to include in what will be committed)

    content/events/2016-siliconvalley/
    data/events/2016-siliconvalley.yml

nothing added to commit but untracked files present (use "git add" to track)
Bridgets-MacBook-Air:devopsdays-web bridget$ 

- template changes to be more scriptable
- sample event fixes
@@ -1,5 +1,5 @@
+++
date = "2016-03-06T21:17:08-06:00"
date = "2000-01-01T01:01:01-06:00"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since hugo insists on a date, I picked one that's unlikely to appear naturally, so I know what to search/replace on.

@mattstratton mattstratton merged commit 478a49e into master May 2, 2016
benjohnson77 pushed a commit to benjohnson77/devopsdays-web that referenced this pull request May 22, 2016
…etup

Setup script for new events

Former-commit-id: 478a49e
yvovandoorn pushed a commit that referenced this pull request May 22, 2016
yvovandoorn pushed a commit that referenced this pull request May 22, 2016
Setup script for new events

Former-commit-id: 478a49e
yvovandoorn pushed a commit that referenced this pull request May 22, 2016
yvovandoorn pushed a commit that referenced this pull request May 29, 2016
Setup script for new events

Former-commit-id: 478a49e
yvovandoorn pushed a commit that referenced this pull request May 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants