server for Felt, a tool for building and maintaining communities π
work in progress: pre-pre-alpha
For development docs, please see Contributing
# node >=16.6
npm i
# start the SvelteKit/Vite frontend dev build, Node builds with Gro, and Polka API server
npm run dev
# browse to localhost:3000
# you can also run `gro dev` with Gro installed globally: npm i -g @feltcoop/gro
gro dev # args are forwarded to `svelte-kit` like `npm run dev`
gro # print available tasks
npm test
# or
gro test
learn more about Gro
Each part of the dev build is available as an npm script:
npm run dev-sveltekit
npm run dev-gro
Build the dist/
directory for production:
npm run build
# or
gro build
# run it
npm start
# or
gro start
# TODO support custom port, like:
PORT=3003 gro start
Deploy will execute a build on the local machine, package the output into a tar, and attempt to deploy it to a remote instance:
npm run deploy
# or
gro deploy
# TODO support custom deployment URLs
Polka β Svelte β SvelteKit β Vite β Gro β Rollup β TypeScript β esbuild β esinstall β uvu β Prettier β @lukeed/* & more