Master project : Online development environment
- If you want to install our latest release click here
- If you want to set up our project from scratch using our vagrant click here
- If you want to set up our project without vagrant click here
You can run our releases in our vagrant or install it on your own machine. You can download our releases here
- Extract the release in your vagrant folder.
- Follow Vagrant installation guide
- Launch Server
- Launch Client
- Extract the release on your machine.
- Install all the dependancies (Check
install/install.shto have all dependancies). - Launch Server
- Launch Client
- Vagrant is needed, you can download it here : https://www.vagrantup.com/downloads.html
- VirtualBox needs to be installed. You can download it here : https://www.virtualbox.org/wiki/Downloads
Choose either of the solutions:
- Cloning the repository :
git clone https://github.com/CodeChillAlluna/code-chill.git - Downloading the repository :
https://github.com/CodeChillAlluna/code-chill/archive/master.zip
- Move to the project directory :
cd code-chill - Run the command :
vagrant up. - Wait for Vagrant to download all dependencies.
- Run
vagrant sshto connect to the virtual machine. - You should be connected to the VM, in
/vagrantwhere the project is located.
- Connect to the VM:
vagrant ssh - Shutdown the VM:
vagrant halt - Launch the VM:
vagrant up - Reload the VM:
vagrant reload - Delete the VM:
vagrant destroy - Verify packages are up to date:
vagrant provision
You will find all our project dependancies in install/install.sh
Choose either of the solutions:
- Cloning the repository :
git clone https://github.com/CodeChillAlluna/code-chill.git - Downloading the repository :
https://github.com/CodeChillAlluna/code-chill/archive/master.zip - Downloading our release :
https://github.com/CodeChillAlluna/code-chill/releases
To build Spring, you will have to use the following command lines :
cd src/spring: will place you in the source dictionnary.sh mvnw clean package: will compile java files to create a runnable jar package.cd target: will place you in the build dictionnary of the project.java -jar spring-0.0.1-SNAPSHOT.jar: will launch the Spring project, depending on what you are using the version might not always be "0.0.1".- Server API accessible at
http://localhost:8080/
To run Spring in development mode, you will have to use the following command lines :
cd src/spring: will place you in the source dictionnary.sh mvnw spring-boot:run: will compile the source code and launch the spring server- Server API accessible at
http://localhost:8080/
To build React, you will have to use the following command lines :
cd src/client: will place you in the source dictionnary.sudo yarn install: will install if they are missing and update the dependencies of the project.yarn build: will build the project.serve -s build: will launch the project properly.- Website accessible at
http://localhost:5000/
To run react in development mode, you will have to use the following command lines :
cd src/client: will place you in the source dictionnary.sudo yarn install: will install if they are missing and update the dependencies of the project.yarn start: will check your code validity and launch the node server.- Website accessible at
http://localhost:3000/