Skip to content

UWmathNEWS/slugline-web

Repository files navigation

Build Test Security checks codecov

slugline-web

The front-end component of slugline, mathNEWS's best and only React/Django based publishing website.

Running

Basic configuration

Basic site configuration is found in src/config.ts. Edit that as you wish.

Development

  • It's a standard create-react-app project, npm run start to run.
  • Grab a copy of the server here.
  • By default, the server runs at port 8000, and the proxy setting in package.json is designed to redirect requests from the dev server to there. If you change the server port, change the port in package.json as well.

License

Except for files which specify otherwise, this application is licensed under the GNU Affero General Public License. See CONTRIBUTING.md for more details.

Production

For production uses, goosePRESS uses SSR, which requires some setup:

  • npm run build to make a production build
  • npm run lib to build the source for SSR
  • Set SLUGLINE_SERVER in your environment to point to the API server (default: http://localhost:8000)
  • npm run start-ssr to start the SSR server. By default, it runs on port 8080; to change this, set PORT in your environment to the port you wish.

About

The (front-end part of the) next generation of journalism.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published