Sign in to follow this  
luisito666

python Metin2 Web Page (Mt2Web.py) + Admin Panel + deploy with Docker.

1 post in this topic

Metin2 Web Page (Mt2Web.py) + Admin Panel + deploy with Docker.

Today I bring this post the page that I have been working on, and use in my servers for production.

This page is made in python and the code is available in github, this to be able to track and have a centralized way to get the update of it.

In addition to this this page has a Dockerfile to deploy it and so people who have no knowledge in installing servers can make use of it easily.

Features:

    paymentwall for donations.
    account activation email
    google captcha to give security to the forms
    password recovery by mail
    administration panel
    ORM to analyze the different types of databases.
    Top of players by crontab. -> Available from the dockerfile
    multi language, currently only has English and Spanish implemented

Advantage:

    Easy installation, you just have to configure a file.
    Easy administration
    Page with security implemented
    Open Source, has an MIT license and because of this anyone can send improvements to the page through pull request on github
    It can be deployed in any unix operating system including FreeBSD thanks to the Dockerized page.

Disadvantages

    If it is going to be mounted separately it requires a VPS of minimum 512 Megabytes of ram to be able to deploy it.
    At the moment it only has one appearance, the new skin for this website is in development.

Download links only available from github.

Deploy Links

https://hub.docker.com/r/luisito666/mt2web

https://github.com/luisito666/Mt2Web.py-docker

Web Page

https://github.com/luisito666/Mt2Web.py


How To deploy.

You can run the Mt2Web.py project after cloning it and being inside the directory where all the source code is.
 

docker run -d -p 80:80 --name mt2web -v $PWD:/var/www/html/Mt2Web.py/ luisito666/mt2web


With this we finalize the process of deployment of the application.

Execute migrations

To execute the migrations we first enter the container and execute this command.

python3 manage.py migrate

Execute commands inside of Docker

docker exec -it mt2web bash

 

Some screnshots

5SVDwTt.jpg

 

M3QXswq.jpg

If3pGMF.jpg

yKSXiwA.png

jUgD8OT.png

GPgucR6.png

U6BAEz5.png

VrbMOH0.png

SUca1rO.png

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.