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 start
to run. - Grab a copy of the server here.
- By default, the server runs at port 8000, and the
proxy
setting inpackage.json
is designed to redirect requests from the dev server to there. If you change the server port, change the port inpackage.json
as 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 build
to make a production buildnpm 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, setPORT
in your environment to the port you wish.