This website is created with React. Minimal React knowledge might be needed in order to modify it.
To have a website that is on org.github.io
and not org.github.io/websites-repo
you need to have HTML files in master
branch. To keep the source close to the website itself (HTML files) I created source
branch that has the React app's source. You can build the app into master
instead of gh-pages
, typically.
- Add an issue with your suggestions.
- Clone this repo.
- Run
npm install
to install the deps. - Run
npm run start
. - Navigate to
localhost:3000
(probably,npm start
will do that automatically for you). - Hack what you need to hack.
- Run
npm run build
. - Commit your changes to a feature branch if needed, or to
source
branch directly if not. - Run
npm run deploy
. - NOTICE: step 8 actually publishes the website to the wild. Deploy with a little caution.
No production-related reason. But the development cycle is a big time savor.
After you update the docs in Palindrom repository, you'll have to update palindrom.github.io
. To do this, you'll need:
- Install Python.
- Install MkDocs (in short run
python -m pip install mkdocs
); - In root dir, in your shell, execute
./fetchandbuild.sh
.
Now the docs are built.
- If you want to deploy, you'll need
gh-pages
command. If you don't have it executenpm install -g gh-pages
to install it. - Run
gh-pages -b master -d build
.
Done!
MIT