Skip to content

CodeChillAlluna/code-chill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code & Chill

Server version Client version License: Apache-2.0

Master project : Online development environment

Code&Chill is a web application written in Java and React. It gives users the possibility to use their development environment in a browser. No more worries about setup so just code, and chill.

If you want to know more about this project check our website : https://codechillalluna.github.io/code-chill/

Demo

Watch the video

Sumary

Server

The server of Code&Chill is written in Java with the framework Spring-Boot 1.5. It's using JPA to interact with a Postgres database or whatever database you want to use, JWT for authentication, Docker to manage user environments, and more.

The code for the server is accessible here.

Client

The client of Code&Chill is written in TypeScript with the framework React.

The code for the client is accessible here.

Installation

We're only going to show you the easiest installation for Code&Chill (Client & Server on the same server with one command to start), but you can easily separate the server and the client on two servers.

For the easiest installation, we decided to dockerize our application so you can see our images on DockerHub.

Requirements

Download

We're assuming you are on your $HOME directory during the installation but you can be wherever you want, you'll just have to replace $HOME by the directory where you are during this guide.

First of all, go in your $HOME directory and clone this repository and go in the repository folder.

git clone https://github.com/CodeChillAlluna/code-chill.git
cd code-chill

Configuration

Next we'll configure the server and the client part.

Server

The configuration for the server is in resources/application.yml. Open the file and edit the values you want. All of the configuration fields are commented to let you know what it's for.

Client

The configuration for the server is in resources/config.js. Open the file and edit the values you want. All of the configuration fields are commented to let you know what it's for.

Starting Code&Chill

The last step is to start the containers to run Code&Chill. For that you'll find a docker-compose.yml in this repository. If you cloned this repository in your $HOME folder, you don't have to edit it. If you cloned it elsewhere, you'll have to change the path to your configurations files in it.

Now to start Code&Chill, just type the following command while you are in the folder where docker-compose.yml is.

docker-compose up

# If you want to start Code&Chill in the background, use this command
docker-compose up -d

If you want, you can also create a service file to run Code&Chill at startup. You can find a service file for Code&Chill in the resources of this repository.

About

Master project : Online development environment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •