The front-end component of slugline, mathNEWS's best and only React/Django based publishing website.
Basic site configuration is found in src/config.ts. Edit that as you wish.
- It's a standard create-react-app project,
npm run startto run. - Grab a copy of the server here.
- By default, the server runs at port 8000, and the
proxysetting inpackage.jsonis designed to redirect requests from the dev server to there. If you change the server port, change the port inpackage.jsonas well.
Except for files which specify otherwise, this application is licensed under the GNU Affero General Public License.
See CONTRIBUTING.md for more details.
For production uses, goosePRESS uses SSR, which requires some setup:
npm run buildto make a production buildnpm run libto build the source for SSR- Set
SLUGLINE_SERVERin your environment to point to the API server (default:http://localhost:8000) npm run start-ssrto start the SSR server. By default, it runs on port 8080; to change this, setPORTin your environment to the port you wish.