This is a simple blog application to run on the dbPager Server. The application shows how to:
- Organize your source code
- Use application components
- Use the database
dbPager Server is FastCGI application server written in C++.
The overriding design goal for dbPager Server is to provide so powerful templating engine that conventional programming languages would be no need to develop a web site.
To play with application, you need Docker and application docker container. Refer to docker manual for instructions about installing docker. Now download latest version of the application:
$ docker pull wolfsoft/blog-example:latestRun it:
$ docker run -dp wolfsoft/blog-example:latest --name blogAccess the application with web browser at: http://localhost:8089/
You can download current version of the application from our public git repository:
$ git clone https://github.com/wolfsoft/blog-example.git
$ cd blog-example/The application contains resources which should be compiled before deploying. To compile application, NPM, Grunt and Bower are required.
NPM can be installed with your system package manager (sudo apt-get install npm). To download other tools and dependencies, run:
$ npm install --save-dev
$ bower installTwo directories, bower_components and node_modules will be added after that. Now you are ready to compiling sources. Run:
$ gruntAfter compiling, public directory will be populated with required static content. Next, build the self-hosted docker container:
$ grunt dockerTODO
Want to contribute? Great! Fork project on Github and send me pull requests.
GPLv3