Coder Social home page Coder Social logo

supersonictw / popsenzawa-echo Goto Github PK

View Code? Open in Web Editor NEW
70.0 5.0 19.0 239 KB

The server-side reproduction, similar the one of https://popcat.click, improve the performance and speed.

Home Page: https://shiranui.xyz/popsenzawa

License: MIT License

Go 97.32% Dockerfile 1.45% Makefile 1.23%
golang gin popcat server cleanroom reproduction popcat-echo

popsenzawa-echo's Introduction

PopSenzawa Echo

The server-side reproduction, similar the one of https://popcat.click, improve the performance and speed.

Docker Image

The docker image is available on:

https://github.com/supersonictw/popsenzawa-echo/pkgs/container/popsenzawa-echo

Installation

#1

https://github.com/supersonictw/popsenzawa-echo_deploy

Web Client

https://github.com/supersonictw/popsenzawa-active

Click BOT Simulator

https://github.com/supersonictw/popsenzawa-delivery

Documentation

The documents are not ready yet, but will be prepared as soon as possible.

License

MIT License

popsenzawa-echo's People

Contributors

supersonictw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

popsenzawa-echo's Issues

Step to step guide on setting up go server

Not sure if this is the best format for submitting a minimal setup guide, if @supersonictw thinks it's not appropriate then I will close it anyway

Required docker images:

Popcat server require redis for cache and mysql for stats aggregation so you will these image other than the popcat image.

docker pull supersonictw/popcat-echo
docker pull redis
docker pull mysql:5.7
docker run -p 6379:6379  -d redis:latest
docker run -p 3306:3306 -e  MYSQL_ROOT_PASSWORD=<Your password> -d mysql:5.7

Setup MYSQL

Use the initialize.sql script to setup your MYSQL database schema. You may need to connect to your database before this.

Execute image

Setup docker environment variable file according to .env.sample

I find this DSN format working under my own setup ( under Linux environment you will need to change docker.for.mac.localhost to the docker IP )

MYSQL_DSN=<mysql user>:<password>@tcp(docker.for.mac.localhost:3306)/<your database name>?charset=utf8

Execute popcat server

docker run -p 8013:8013 --env-file <your environment variable file> supersonictw/popcat-echo

You should be able to access popcat server at localhost:8013 !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.