Skip to content

rumsystem/light-timeline-setup

Repository files navigation

How to deploy

1. Install Docker

You can execute the following command to test whether Docker is installed successfully

docker run hello-world

output:

Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

...

2. Install Docker Compose

How to install Docker Compose?

You can execute the following command to test whether Docker Compose is installed successfully

docker-compose --version

output

docker-compose version 1.27.4, build 40524192

3. Get code

git clone https://github.com/rumsystem/light-timeline-setup.git
cd light-timeline-setup

4. Deploy

If your domain is feed.com, then use this command to deploy

export DOMAIN=feed.com && ./deploy.sh

5. Done

Congratulations, the deployment is complete and you can access it by feed.com.

6. Shutdown server

./down.sh

Stopping light-timeline-setup_feed_1     ... done
Stopping light-timeline-setup_nginx_1    ... done
Stopping light-timeline-setup_postgres_1 ... done
Stopping light-timeline-setup_certbot_1  ... done
Removing light-timeline-setup_feed_1     ... done
Removing light-timeline-setup_nginx_1    ... done
Removing light-timeline-setup_postgres_1 ... done
Removing light-timeline-setup_certbot_1  ... done
Removing network light-timeline-setup_default

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published