This is the frontend of coding blog editor panel.
clone and cd into the cloned folder:
git clone git@github.com:Coding-blog/editor-frontend.git
cd editor-frontend
👉 You can skip this if you want to connect to prod server or some other server
tyfon i --env dev
👉 For connecting to prod server, do this instead:
tyfon i --env prod
npm i
npm start
its now accessible on http://localhost:3000
.
👉 you need a key to authenticate. if you are connecting to dev server on your local, checkout step 5 of dev setup of the backend. if you are connecting to another server, ask the system owner of that server for an auth key.
This repo will automatically be deployed to GitHub Pages (gh-pages
branch) whenever there is a commit to main
.
👉 If you want to deploy somewhere else, setup dev, but connect to prod server:
tyfon i --env prod
then build stuff:
npm run build
and put dist/
folder on some CDN or static host.