Skip to content

h0riz4n/Javix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javix

Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.

Javix is simple telegram bot with web-games.

How to deploy?

First of all you need to up Nginx in your server. You can do it by docker + docker-compose. Clone the directory nginx and in this directory execute this commands.

docker network create host_env
docker-compose build
docker-compose up -d

After this you need to wait some time for updating nginx. My congratulations, now you have nginx in your server. Now go to home directory and there you should write this commands.

mkdir javixwebapp
mkdir javixbot

In home directory clone this file

Directory javixbot There you should have .jar file of this java application. Add .jar file and docker file, execute this commands.

mkdir data
cd data

Clone dataJSON file there and go home directory.

Directory javixwebapp

There you should have .jar file of this java application. Add .jar file and docker file, execute this commands.

After all instruction you should be in home directory, where you have this docker-compose.yml. Execute this program and test your bot.

docker-compose build
docker-compose up -d

Technologies

  • Docker
  • PostgreSQL
  • Java
  • JavaScript
  • Nginx
  • Let's Encrypt
  • HTML/CSS
  • Spring Framework

Student developers

F.A.Q.