Self website for code example and experies summary.
- Self blogs, synchronize from github repository and convert from markdown to html automaticly.
- Self memorandum and diary, edit, display and search online.
- Selt inputs management, analysis types of income and the trend of income.
- Has completable system management, like user management, auth check, log management, system backup and resoter and so on.
- At the last, I want to implements a game of my hometown named the cannon bombards the dogfaces.
- Install golang, node, npm, git.
- Clone code.
- Compile the chamberlain_website and make docker image:
npm run build
docker build -t regiu:1.0 .
- Compile the chamberlain_mtmt and make docker image:
docker build -t chamberlain:1.0 .
- Set the image version to docker-compose.yml
- Pull mysql image
- Run docker compose:
- Docker exec the mysql container, init database and tables. The sql is chamberlain.sql.
- Then you can open the page in browse and operate it.