Skip to content
Snippets Groups Projects
Commit 41957836 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

moving website to a different project

parent 08634ffb
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ The Complete Open Source Chat Solution
## Demo
Checkout the latest version at [https://rocket.chat](https://rocket.chat)
Checkout the latest version at [https://demo.rocket.chat](https://demo.rocket.chat)
Download the Native Cross-Platform Desktop Application at [Rocket.Chat.Electron](https://github.com/RocketChat/Rocket.Chat.Electron/releases)
......
#!/bin/bash
meteor build ../Rocket.Chat-build --server https://rocket.chat
meteor build ../Rocket.Chat-build --server https://demo.rocket.chat
jarsigner -digestalg SHA1 .meteor/local/cordova-build/platforms/android/ant-build/CordovaApp-release-unsigned.apk RocketChat
~/.meteor/android_bundle/android-sdk/build-tools/21.0.0/zipalign 4 .meteor/local/cordova-build/platforms/android/ant-build/CordovaApp-release-unsigned.apk .meteor/local/cordova-build/platforms/android/ant-build/RocketChat-release-signed.apk
open .meteor/local/cordova-build/platforms/android/ant-build/
\ No newline at end of file
open .meteor/local/cordova-build/platforms/android/ant-build/
......@@ -2,6 +2,6 @@
rm -rf .meteor/local/cordova-build
rm -rf ../Rocket.Chat-build
meteor build ../Rocket.Chat-build --server https://rocket.chat
meteor build ../Rocket.Chat-build --server https://demo.rocket.chat
sed -i '' 's/IPHONEOS_DEPLOYMENT_TARGET[[:space:]]=[[:space:]]6\.0/IPHONEOS_DEPLOYMENT_TARGET = 7\.0/g' .meteor/local/cordova-build/platforms/ios/Rocket.Chat.xcodeproj/project.pbxproj
open .meteor/local/cordova-build/platforms/ios/Rocket.Chat.xcodeproj
\ No newline at end of file
open .meteor/local/cordova-build/platforms/ios/Rocket.Chat.xcodeproj
......@@ -9,7 +9,7 @@ if [ $1 ]; then
export METEOR_SETTINGS=$(cat settings.$1.json)
meteor add rocketchat:external
meteor add rocketchat:hubot
meteor build --server https://rocket.chat --directory /var/www/rocket.chat
meteor build --server https://demo.rocket.chat --directory /var/www/rocket.chat
cd /var/www/rocket.chat/bundle/programs/server
npm install
cd /var/www/rocket.chat/current
......
......@@ -14,7 +14,7 @@
<meta name="msapplication-TileImage" content="/images/logo/mstile-144x144.png?v=3">
<meta name="msapplication-config" content="/images/logo/browserconfig.xml?v=3">
<meta name="theme-color" content="#04436a">
<link rel="canonical" href="https://rocket.chat/" />
<link rel="canonical" href="https://demo.rocket.chat/" />
<link rel="manifest" href="/images/logo/manifest.json?v=3">
<link rel="icon" sizes="any" type="image/svg+xml" href="/images/logo/icon.svg?v=3">
<link rel="icon" sizes="256x256" type="image/png" href="/images/logo/favicon-256x256.png?v=3">
......
......@@ -11,8 +11,8 @@
"CDN_PREFIX": "//dbde4sd21oahf.cloudfront.net",
"MONGO_URL": "mongodb://localhost:27017/rocketchat",
"MONGO_OPLOG_URL": "mongodb://localhost:27017/local",
"ROOT_URL": "https://rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://rocket.chat",
"ROOT_URL": "https://demo.rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://demo.rocket.chat",
"PORT": "8080"
}
}, {
......@@ -27,8 +27,8 @@
"CDN_PREFIX": "//dbde4sd21oahf.cloudfront.net",
"MONGO_URL": "mongodb://localhost:27017/rocketchat",
"MONGO_OPLOG_URL": "mongodb://localhost:27017/local",
"ROOT_URL": "https://rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://rocket.chat",
"ROOT_URL": "https://demo.rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://demo.rocket.chat",
"PORT": "8081"
}
}, {
......@@ -43,8 +43,8 @@
"CDN_PREFIX": "//dbde4sd21oahf.cloudfront.net",
"MONGO_URL": "mongodb://localhost:27017/rocketchat",
"MONGO_OPLOG_URL": "mongodb://localhost:27017/local",
"ROOT_URL": "https://rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://rocket.chat",
"ROOT_URL": "https://demo.rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://demo.rocket.chat",
"PORT": "8082"
}
}, {
......@@ -59,8 +59,8 @@
"CDN_PREFIX": "//dbde4sd21oahf.cloudfront.net",
"MONGO_URL": "mongodb://localhost:27017/rocketchat",
"MONGO_OPLOG_URL": "mongodb://localhost:27017/local",
"ROOT_URL": "https://rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://rocket.chat",
"ROOT_URL": "https://demo.rocket.chat",
"DDP_DEFAULT_CONNECTION_URL": "https://demo.rocket.chat",
"PORT": "8083"
}
}]
......
<template>
<style>
.github-fork {
position: fixed;
display: block;
width: 330px;
z-index: 901;
right: -70px;
top: 72px;
background-size: 100% auto;
cursor: pointer;
background-color: #5c5c5c;
color: #f0f0f0;
padding: 1em 0 0.95em;
line-height: 1.04em;
text-decoration: none;
font-family: Montserrat;
font-size: 1.04em;
box-shadow: -2px 3px 1px rgba(0, 0, 0, 0.23);
opacity: 1;
text-transform: uppercase;
-webkit-transform: rotate(45deg) translateY(0);
transform: rotate(45deg) translateY(0);
-webkit-transition: background-color 0.2s ease-out, -webkit-transform 0.45s cubic-bezier(0.15, 0, 0, 1), opacity 0.2s ease-out;
transition: background-color 0.2s ease-out, transform 0.45s cubic-bezier(0.15, 0, 0, 1), opacity 0.2s ease-out;
}
.github-fork.exit {
opacity: 0;
-webkit-transform: rotate(45deg) translateY(-170px);
transform: rotate(45deg) translateY(-170px);
}
.github-fork:hover {
background-color: #4b4b4b;
color: #FFF
}
.github-fork:before,
.github-fork:after {
content: " ";
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjJweCIgdmlld0JveD0iMCAwIDMyIDIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxyZWN0IGZpbGw9IiNGNEY0RjQiIHdpZHRoPSI0IiBoZWlnaHQ9IjIiLz48cmVjdCB4PSI4IiBmaWxsPSIjRjRGNEY0IiB3aWR0aD0iNCIgaGVpZ2h0PSIyIi8+PHJlY3QgeD0iMTYiIGZpbGw9IiNGNEY0RjQiIHdpZHRoPSI0IiBoZWlnaHQ9IjIiLz48cmVjdCB4PSIyNCIgZmlsbD0iI0Y0RjRGNCIgd2lkdGg9IjQiIGhlaWdodD0iMiIvPjwvc3ZnPg==);
background-repeat: repeat-x;
background-position: top left;
position: absolute;
z-index: 1;
left: 0;
width: 100%;
height: 1px;
}
.github-fork:before {
top: 3px;
}
.github-fork:after {
bottom: 2px;
}
</style>
<a href="/" target='_blank' class='github-fork'>Fork me on github!</a>
</template>
<script>
(function (window, document, undefined) {
var Icons = (function () {
var icons = {
"github": "M24.999,2.48c-12.75,0-23.087,10.338-23.087,23.09c0,10.199,6.613,18.854,15.791,21.907 c1.154,0.211,1.518-0.474,1.518-1.084c0-0.547,0.011-2.082,0-4.01c-6.422,1.398-7.753-3.038-7.753-3.038 c-1.048-2.671-2.562-3.377-2.562-3.377c-2.095-1.433,0.158-1.407,0.158-1.407c2.317,0.163,3.538,2.383,3.538,2.383 c2.059,3.522,5.403,2.505,6.717,1.916c0.21-1.491,0.808-2.51,1.468-3.087C15.66,35.188,10.27,33.211,10.27,24.361 c0-2.521,0.9-4.581,2.376-6.194c-0.239-0.584-1.031-2.932,0.226-6.112c0,0,1.939-0.62,6.349,2.369 c1.841-0.513,3.817-0.768,5.78-0.777c1.962,0.009,3.938,0.264,5.781,0.777c4.409-2.988,6.346-2.369,6.346-2.369 c1.258,3.18,0.466,5.528,0.229,6.112c1.478,1.613,2.373,3.673,2.373,6.194c0,8.872-5.397,10.823-10.543,11.392 c0.828,0.717,1.582,2.101,1.582,4.255c0,2.887,0,5.632,0,6.392c0,0.617,0.372,1.302,1.544,1.076 c9.167-3.059,15.776-11.708,15.776-21.905C48.089,12.818,37.75,2.48,24.999,2.48z"
}
function get(icon) {
if (icons[icon]) {
return '<svg class="i-svg" height="50" version="1.1" width="50" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet" viewBox="0 0 50 50" space="preserve" data-icon="facebook," class="i-svg"><desc>Created with Snap</desc><defs></defs><path d="' + icons[icon] + '" fill="#ffffff"></path></svg>';
}
return false;
}
return {
get: get
}
})();
function checkColor(el) {
var color = el.getAttribute("color");
if (typeof color === "string") {
el.link.style.backgroundColor = color;
}
}
function checkVisibility(el) {
var hidden = el.getAttribute("hidden");
if (hidden !== null && hidden !== undefined) {
updateClass(el, "exit");
}
}
function checkLink(el){
var link = el.getAttribute("href") || el.getAttribute("url") || el.getAttribute("github") || "";
if(typeof link === "string" && link.length){
link = link.replace(/(http)(s)?(\:\/\/)(www\.)?(github.com)(\/)(.*)/i,"$7");
el.link.href = "https://github.com/" + link;
}
}
function events(el) {
el.link.addEventListener("mouseleave", function (event) {});
el.link.addEventListener("mousemove", function (event) {});
el.link.addEventListener("mousedown", function (event) {});
el.link.addEventListener("click", function (event) {});
}
function init(el) {
var clone = mainDoc.importNode(template, true);
el.shadow = el.createShadowRoot();
el.shadow.appendChild(clone);
el.time = null;
el.link = el.shadow.querySelector('a');
el.class = "github-fork";
}
function updateClass(el, name, action) {
var reg = new RegExp(name, "i");
if (!action) {
if (!el.class.match(reg)) {
el.class = el.class + " " + name;
}
} else {
el.class = el.class.replace(reg, "");
el.class = el.class.replace("[\s]*", " ").trim();
}
el.link.className = el.class;
}
var mainDoc = document,
thisDoc = (mainDoc._currentScript || mainDoc.currentScript).ownerDocument,
template = thisDoc.querySelector('template').content,
element = Object.create(HTMLElement.prototype),
event = new Event('action');
element.createdCallback = function () {
init(this);
events(this);
checkVisibility(this);
checkLink(this);
};
element.attributeChangedCallback = function (attr, oldVal, newVal) {
if(attr == "color"){
checkColor(this);
}
};
element.exit = function () {
if (!this.class.match(/exit/)) {
updateClass(this, "exit");
}
}
element.enter = function () {
if (this.class.match(/exit/)) {
updateClass(this, "exit", 1);
}
}
element.background = function (color){
if(typeof color === "string"){
color = "#" + color.replace("#","");
this.setAttribute("color", color);
}
}
mainDoc.registerElement('github-fork', {
prototype: element
});
})(window, document);
</script>
public/images/meteor.png

3.04 KiB

public/images/new-screen.jpg

74.7 KiB

public/images/rocket-card-new.png

108 KiB

<head>
<meta charset="utf-8" />
<title>Rocket.Chat</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="en-US" />
<meta http-equiv="expires" content="-1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Open Source Slack-like online chat, built with Meteor.">
<meta content="summary" name="twitter:card" />
<meta content="@rocketchatapp" name="twitter:site" />
<meta content="@rocketchatapp" name="twitter:creator" />
<meta property="og:site_name" content="Rocket.Chat" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://rocket.chat" />
<meta property="og:title" content="Rocket.Chat - Your own open source web application" />
<meta property="og:description" content="Have your own web chat. Developed with Meteor.com, the Rocket.Chat is a great solution for developers looking forward to build and evolve their own chat platform." />
<meta property="og:image" content="https://rocket.chat/images/rocket-card-new.png" />
<meta property="fb:app_id" content="835103589938459" />
<meta name="distribution" content="global" />
<meta name="language" content="en-US" />
<meta name="rating" content="general" />
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="google-site-verification" content="wx2LmTKIPqkpThw42Bo3UGi7LnTc8v-baoo7kIT8z6Y" />
<meta name="msvalidate.01" content="CC595410A57B0314F81C928AE4E982C9" />
<meta name="apple-mobile-web-app-title" content="Rocket.Chat">
<meta name="application-name" content="Rocket.Chat">
<meta name="msapplication-TileColor" content="#04436a">
<meta name="msapplication-TileImage" content="/images/logo/mstile-144x144.png?v=3">
<meta name="msapplication-config" content="/images/logo/browserconfig.xml?v=3">
<meta name="theme-color" content="#04436a">
<link rel="prerender" href="/images/new-screen.jpg" />
<link rel="canonical" href="https://rocket.chat/" />
<link rel="manifest" href="/images/logo/manifest.json?v=3">
<link rel="shortcut icon" href="/favicon.ico?v=3" id="rxfavico" type="image/x-icon" />
<link rel="icon" sizes="256x256" type="image/png" href="/images/logo/favicon-256x256.png?v=3">
<link rel="icon" sizes="192x192" type="image/png" href="/images/logo/android-chrome-192x192.png?v=3">
<link rel="icon" sizes="128x128" type="image/png" href="/images/logo/favicon-128x128.png?v=3">
<link rel="icon" sizes="96x96" type="image/png" href="/images/logo/favicon-96x96.png?v=3">
<link rel="icon" sizes="64x64" type="image/png" href="/images/logo/favicon-64x64.png?v=3">
<link rel="icon" sizes="48x48" type="image/png" href="/images/logo/favicon-48x48.png?v=3">
<link rel="icon" sizes="32x32" type="image/png" href="/images/logo/favicon-32x32.png?v=3">
<link rel="icon" sizes="16x16" type="image/png" href="/images/logo/favicon-16x16.png?v=3">
<link rel="apple-touch-icon" sizes="57x57" href="/images/logo/apple-touch-icon-57x57.png?v=3">
<link rel="apple-touch-icon" sizes="60x60" href="/images/logo/apple-touch-icon-60x60.png?v=3">
<link rel="apple-touch-icon" sizes="72x72" href="/images/logo/apple-touch-icon-72x72.png?v=3">
<link rel="apple-touch-icon" sizes="76x76" href="/images/logo/apple-touch-icon-76x76.png?v=3">
<link rel="apple-touch-icon" sizes="114x114" href="/images/logo/apple-touch-icon-114x114.png?v=3">
<link rel="apple-touch-icon" sizes="120x120" href="/images/logo/apple-touch-icon-120x120.png?v=3">
<link rel="apple-touch-icon" sizes="144x144" href="/images/logo/apple-touch-icon-144x144.png?v=3">
<link rel="apple-touch-icon" sizes="152x152" href="/images/logo/apple-touch-icon-152x152.png?v=3">
<link rel="apple-touch-icon" sizes="180x180" href="/images/logo/apple-touch-icon-180x180.png?v=3">
<link rel="stylesheet" type="text/css" href="/landing/style.css">
<link rel="import" href="/elements/github-fork.html">
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.3/webcomponents.min.js"></script>
</head>
<body>
<!-- Google Tag Manager -->
<script>
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'//www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-MLJ76N');
</script>
<!-- End Google Tag Manager -->
<section class="full-page">
<div class="wrapper">
<header>
<a class="logo" href="/">
<img src="/images/logo/logo.svg?v=3" />
</a>
</header>
<a href="/login" class="screen">
<span>
<i></i>
<i></i>
<i></i>
</span>
<figure>
</figure>
<button class="button red"><span>Access the Online Demo</span></button>
</a>
<div class='text'>
<h1>Rocket.Chat</h1>
<h2>Your own Open Source chat solution</h2>
<p>Have your own web chat. Developed with Meteor.com, the Rocket.Chat is a great solution for developers looking forward to build and evolve their own chat platform.</p>
<a class="button" href="/login"><span>Access the Online Demo</span></a>
</div>
<footer>
<div class="rocket-team">
<h4>About the team</h4>
<p>We are mainly a small team of developers focused on crafting the best free and open source chat solution.</p>
<ul>
<li>
<a target="_blank" href="https://github.com/engelgabriel" style="background-image: url(https://avatars1.githubusercontent.com/u/1000217?v=3&s=460)" title="Gabriel Engel (Founder & CEO)"></a>
</li>
<li>
<a target="_blank" href="https://github.com/sampaiodiego" style="background-image: url(https://avatars3.githubusercontent.com/u/8591547?v=3&s=460)" title="Diego Sampaio (Developer)"></a>
</li>
<li>
<a target="_blank" href="https://github.com/marceloschmidt" style="background-image: url(https://avatars1.githubusercontent.com/u/1986378?v=3&s=460)" title="Marcelo Schmidt (Developer)"></a>
</li>
<li>
<a target="_blank" href="https://github.com/rodrigok" style="background-image:url(https://avatars2.githubusercontent.com/u/234261?v=3&s=460)" title="Rodrigo Nascimento (Developer)"></a>
</li>
<li>
<a target="_blank" href="https://github.com/rcaferati" style="background-image: url(https://avatars2.githubusercontent.com/u/8358797?v=3&s=460)" title="Rafael Caferati (UX Architect)"></a>
</li>
<li>
<a target="_blank" href="https://github.com/Sing-Li" style="background-image: url(https://avatars3.githubusercontent.com/u/122633?v=3&s=460)" title="Sing Li (Developer)"></a>
</li>
</ul>
</div>
<div class="social">
<h4>Join the Community</h4>
<p>Join and help us build the best open source chat solution.</p>
<nav>
<a target="_blank" class="button share twitter" href="https://twitter.com/RocketChatApp"><i class="icon-twitter"></i><span>Twitter</span></a>
<a target="_blank" class="button share facebook" href="https://www.facebook.com/RocketChatApp"><i class="icon-facebook"></i><span>Facebook</span></a>
<a target="_blank" class="button share google" href="https://plus.google.com/+RocketChatApp"><i class="icon-gplus"></i><span>Google Plus</span></a>
<a target="_blank" class="button share github" href="https://github.com/RocketChat/Rocket.Chat"><i class='icon-github-circled'></i><span>Github</span></a>
<a target="_blank" class="button share linkedin" href="https://www.linkedin.com/company/rocket-chat"><i class='icon-linkedin'></i><span>Linkedin</span></a>
</nav>
</div>
<a href="http://meteor.com" target="_blank" title="Proudly developed with Meteor" class="meteor">Proudly developed with Meteor</a>
<github-fork href="https://github.com/RocketChat/Rocket.Chat" hidden></github-fork>
</footer>
<div id="particles-js"></div>
</div>
</section>
<script src="/scripts/particles.js"></script>
<script>
(function() {
setTimeout(function() {
document.querySelector("github-fork").enter();
}, 1000);
particlesJS.load('particles-js', '/scripts/particles.json', function() {});
})();
</script>
</body>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"particles": {
"number": {
"value": 65,
"density": {
"enable": true,
"value_area": 800
}
},
"color": {
"value": "#ffffff"
},
"shape": {
"type": "circle",
"stroke": {
"width": 0,
"color": "#000000"
},
"polygon": {
"nb_sides": 5
},
"image": {
"src": "img/github.svg",
"width": 100,
"height": 100
}
},
"opacity": {
"value": 0.4,
"random": false,
"anim": {
"enable": false,
"speed": 1,
"opacity_min": 0.1,
"sync": false
}
},
"size": {
"value": 2,
"random": true,
"anim": {
"enable": false,
"speed": 30,
"size_min": 0.1,
"sync": false
}
},
"line_linked": {
"enable": true,
"distance": 135,
"color": "#ffffff",
"opacity": 0.25,
"width": 1
},
"move": {
"enable": true,
"speed": 2.5,
"direction": "none",
"random": true,
"straight": false,
"out_mode": "bounce",
"bounce": false,
"attract": {
"enable": false,
"rotateX": 600,
"rotateY": 1200
}
}
},
"interactivity": {
"detect_on": "window",
"events": {
"onhover": {
"enable": true,
"mode": "repulse"
},
"onclick": {
"enable": true,
"mode": "push"
},
"resize": true
},
"modes": {
"grab": {
"distance": 400,
"line_linked": {
"opacity": 1
}
},
"bubble": {
"distance": 400,
"size": 40,
"duration": 2,
"opacity": 8,
"speed": 3
},
"repulse": {
"distance": 200,
"duration": 0.4
},
"push": {
"particles_nb": 4
},
"remove": {
"particles_nb": 2
}
}
},
"retina_detect": true
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment