Skip to content

Latest commit

 

History

History
153 lines (128 loc) · 4.15 KB

README.md

File metadata and controls

153 lines (128 loc) · 4.15 KB

Buzz! 🐝🍯

Buzz is a tool where content sections store the stories/other info that go into that days print/paper. Used by Design as a reference point, regularly used by news arts, sports, opinion; enterprise, prime quad (occasionally). Typically, it is filled out a couple of hours before the paper is designed, a day before it is put on stands. These notes include what art or articles will be used and how the newspaper should be laid out. The Content section fills this out, while Design Editors use it to design and lay out the paper.

Buzz Example

There will be a new Figma and Design doc coming soon!

Technology Stack

Frontend: JavaScript React

Backend: MongoDB Docker Kubernetes

How do I install Buzz?

To install buzz onto your local machine.

  1. Clone the Repository
git clone https://github.com/dailybruin/buzz.git
  1. Go into the /buzz directory
cd buzz
  1. Install all dependencies
npm install 

Getting Setup

  1. Fill in the .env file
CLIENT_SECRET=
SESSION_SECRET=    
MONGO_URL=
NODE_ENV= 
ADMINS=
BOT_TOKEN=
CLIENT_TOKEN=
CLIENT_ID=
  1. To build the images, run
docker-compose build
  1. To run the containers, run
docker-compose up

*The docker containers are already volume mounted and so your developed local changes are already reflected in the localhost once you save them.

  1. Visit http://localhost:3000/

How do I contribute?

If you'd like to contribute:

  1. Create a branch, to standardize branch naming conventions; branches are usually named after the ticket number assigned to it.
git checkout -b <Ticket_Number>
  1. Develop on the branch, stage, commit, and push the code to the branch
git add .
git commit -m "<Ticket_Number> : <commit message">
git push

*The first push will require a push upstream git push --set-upstream origin <branch_name>

  1. Make a Pull Request (PR) on GitHub, usually you will need to visit the exact branch in GitHub and then creating a PR. PR Image Hit Create Pull Request. Then await for approval from an administrator.

  2. Once approved, your changes will be merged and you've made a contribution into production!

File Structure

BUZZ/
├── controllers/
├── db/
│   └── models/
│       ├── DesignNote.js
│       ├── InstagramStory.js
│       ├── Member.js
│       ├── Modular.js
│       ├── Schedule.js
│       ├── User.js
│       └── index.js
├── login/
├── node_modules/
├── public/
├── routes/
│   └── api/
│       ├── designNotes.js
│       ├── index.js
│       ├── member.js
│       ├── modulars.js
│       ├── schedule.js
│       ├── story.js
│       ├── utils.js
│       ├── auth.js
│       ├── index.js
│       └── session.js
├── src/
│   ├── components/
│   │   ├── Filler/
│   │   ├── H/
│   │   ├── Linebreak/
│   │   ├── PhotoInitials/
│   │   ├── Shared/
│   │   └── Staff/
│   ├── services/
│   ├── App.js
│   ├── App.test.js
│   ├── config.js
│   ├── history.js
│   ├── index.css
│   ├── index.js
│   └── serviceWorker.js
├── .babelrc
├── .dockerignore
├── .env
├── .env.example
├── .gitignore
├── docker-compose.yml
├── Dockerfile
├── index.js
├── package-lock.json
└── package.json

Deployment

  1. webpack -p

  2. docker-compose build

  3. docker-compose up

  4. docker tag

  5. docker push