A locally-hosted constructed language creation platform, geared towards diachronic conlanging.
- Node.js
- Postgres
- Git
Install:
- Clone the Git repository.
- Run
npm i
to install dependencies. - In both
backend
andfrontend
, copy.env.example
to.env.development
and fill out the variables. Also copy the files to.env.production
if you will be running Chronologue in preview mode.
Setup Postgres:
- Create a user and database for Chronologue.
- Run
backend/create-schema.sql
in the new database.
- To build the
shared
folder:npm run shared
- To run the frontend and backend in development mode:
npm run dev
- Just the frontend:
npm run frontend-dev
- Just the backend:
npm run backend-dev
- Just the frontend:
- To build the frontend and backend:
npm run build
- Just the frontend:
npm run frontend-build
- Just the backend:
npm run backend-build
- Just the frontend:
- To preview the frontend and backend:
npm run preview
- Just the frontend:
npm run frontend-preview
- Just the backend:
npm run backend-preview
- Just the frontend:
- To run ESLint:
npm run lint
By default, the frontend runs on port 5173 in development mode and on port 4173 in preview mode; this can be changed in frontend/vite.config.ts
.