Skip to content
Swachalit - The null Automation Platform that hosts null.co.in. This repository contains code that is periodically synced from development repository. We plan to eventually move to completely open source development.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
app
config
data
db
doc
lib
log
public
script
sys
test
vendor
.dockerignore
.gitattributes
.gitignore
Capfile
Dockerfile
Gemfile
Gemfile.lock
README.md
Rakefile
Vagrantfile
bitbucket-pipelines.yml
config.ru
docker-compose-app.yml
docker-compose-full-stack.yml
docker-compose.yml
prodrun.sh

README.md

null Swachalit

This repository contains source code of application used to run https://null.co.in

Developer Documentation

Production

Production deployment is triggered through Git release tag of format:

release-x.x.x

The x.x.x conforms to semantic versioning.

Push a release through git

git tag -a -m "Release for XYZ" release-X.Y.Z
git push origin --tags

Production Environment

The entire deployment, including secrets are managed through Bitbucket pipeline. Refer to bitbucket-pipelines.yml for detail.

Secrets are available during build process as part of Bitbucket pipeline environment variable.

Manual Build

Look at prodrun.sh

Stop Containers

docker rm --force `docker ps -q`

NOTE: The above command will stop all running containers in the system

Developer Environment

Bring up full stack

docker-compose up

Bring up on web app

docker-compose -f docker-compose-app.yml up

SSL/TLS

SSL/TLS and its corresponding security configuration should be handled at frontend reverse proxy. The reverse proxy should forward / to Swachalit running on port 8800.

You can’t perform that action at this time.