GithubHelp home page GithubHelp logo

xg-china / discode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prince776/discode

0.0 0.0 0.0 1.33 MB

A web app to code collaboratively with voice chat in real time. Discord + coding = Discode

License: MIT License

Shell 0.69% TypeScript 90.20% HTML 8.42% Dockerfile 0.69%

discode's Introduction

Discode

A platform to share code along with voice rooms.

Live at: http://discode.southeastasia.cloudapp.azure.com/

Setting up dev enviornment

Database

Create a database in your mysql server (local or remote) and get connection information as required in .env.example file. Add these information to .env file.

For migrations, dbmate is being used. Just install dbmate(locally or in docker, whichever you prefer) then to run migrations, just do: dbmate migrate

.env File

Make sure to set up other values in .env file as specified in .env.example

Remaining setup

Now run npm i at root directory and /frontend

To start development server: npm run dev

To start frontend: cd frontend && npm start

Dockerized enviornment (For deployment for now)

Update .env file and change NODE_ENV to production, all other values are available in .env.example Run docker-composer up to build the images and start the containers. Log into mysql discode_mysql_1 and run:

ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'password_you_set_in_env_file';

flush privileges;

Now run migrations from discode_backend_1 container.

discode's People

Contributors

harshkapadia2 avatar prince776 avatar purhan avatar

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.