Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

tokkenno/atomizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atomizer

Atom/RSS web reader

Capabilities

  • Atom 1.0 (rfc5023)
  • RSS 2.0

Known bugs

  • Reading JWT token fails on the server . A bug of CakePHP lib? Meanwhile, all loguedin users are identified as test user. Login and create new user methods works.

Deploy with docker

Before deploy, you can change some configurations editing docker/[type]/docker-compose.yml

  • Database configuration
  • DNS Domains

First, clone the repo

git clone https://github.com/reimashi/atomizer.git atomizer
cd atomizer

To install server dependencies

cd src/server
compose require

To install client dependencies and generate bin files

cd src/client
npm install
webpack

Deploy the dockers with docker-compose

  • type: Type of deploy. devel, production...
docker-compose -p atomizer -f docker/[type]/docker-compose.yml up

At last, restore the database schema. (/server/config/schema/app.sql)

After deployment, you should have 4 docker images running:

  • client: A nginx static server that serves the frontend
  • api: An apache server serving the backend api in cakephp
  • database: A mariadb server as api database
  • proxy: A nginx proxy that connects everything

Notes