Skip to content

🖼 Client-facing application of The Spectator. Written with React and Apollo.

License

Notifications You must be signed in to change notification settings

DJankauskas/client-app

 
 

Repository files navigation

stuyspec.com

CircleCI license code style: prettier

The client-facing application of The Stuyvesant Spectator, built in React.

Contributing

We welcome pull requests from Spec Web developers and seasoned JavaScript developers alike! Please follow these steps to contribute.

Roadmap

For information on the things which are currently being focused on, please visit the ROADMAP.md file.

Issuu

We use Issuu to host our newspaper PDFs. Every time we send, we have to upload the PDF to this platform and embed it into the website. Here are the instructions:

  1. Sign in to https://issuu.com/ (ask previous editors for credentials).

  2. Click the upload icon in the navigation bar and select the newest issue's PDF file.

  3. Name the publication with the format "Volume XXX, Issue N". For the original publication date, use the date printed on the issue. Don't check any of the boxes and click "Publish Now".

  4. Go to the publication list and click the Embed option for the issue you just published.

  5. Go to the "First, the basics." section and change the background color to #333333.

  6. Scroll down and click "Save & Get Code". Choose the iFrame option. It looks something like this:

<iframe style="..." src="//e.issuu.com/embed.html#FIRST_NUMBER/SECOND_NUMBER" frameborder="0" allowfullscreen></iframe>
  1. Copy the SECOND_NUMBER and, in the constants file, set the ISSUU_CONFIG to that number.
export const ISSUU_CONFIG = SECOND_NUMBER;

Deploying

We use CircleCI for continuous integration. If you push to the staging branch, the code will be synced to our staging S3 bucket (hosted on staging.stuyspec.com). If you push to master, it will be synced to the prod bucket (stuyspec.com).

About

🖼 Client-facing application of The Spectator. Written with React and Apollo.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.6%
  • TypeScript 20.3%
  • CSS 3.0%
  • HTML 1.1%