Map E-Com Plus Storefront dynamic backend with Go and Redis
- Go 1.9.x
- Redis 3
- Redis client for Golang https://github.com/go-redis/redis
For security, we recommend to download and install the app as root,
and let the files owned by root:root
as default.
sudo git clone https://github.com/ecomclub/dynamic-backend.git
cd dynamic-backend
sudo go build main.go
Start application with CLI arguments:
- Root directory to static files
- HTTP/TCP port
- Optional log file path
Example:
./main /var/www :3000 /var/log/app.log