Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Comment thread
Anzumana marked this conversation as resolved.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# The Core Visualizer

[See the live demo.](http://IvanVolosyuk.github.io/thecorevisualizer/visualizer)

Expand Down Expand Up @@ -79,3 +78,22 @@ $ git add src/hotkeys.coffee visualizer/index.html
$ git commit -m "Fixed hotkey file entries...."
$ git push
```


### Simple redirect

Put this inside an index html that your are serving on your lading page.
This will result in the user being forwared to the new url location
``` html
The Core Visualizer has moved.

http://jakatak.github.io/thecorevisualizer/visualizer/
<script>window.location = 'http://jakatak.github.io/thecorevisualizer/visualizer/';</script>
```

# Help with the Refactoring
There is a lot that has to be done here.
We would like to move the project to react with redux. So that hopefully we can get more people maintaining the project.

So far i was able to get some of the keymaps working inside of react.
For additional ideas to make the migration easier please send speak up :)
33 changes: 33 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/////// variable definitions ////////
var app;
var port = 8001;

//////// load dependencies ////////
//webserver framework
var express = require('express');

var vhost = require('vhost');
//Compression for gzip Compression
var compression = require('compression');

function createVirtualHost(domainName, dirPath) {
return vhost(domainName, express.static(dirPath));
}

////// app configuration ////////
app = express();

//Create the virtual hosts
var internIp = createVirtualHost("127.0.0.1","visualizer/");
var localhost = createVirtualHost("localhost","visualizer/");
// create the static site hosting for each page
sites =[internIp, localhost];
for(var i = 0; i< sites.length;i++){
app.use(sites[i]);
}


//enable the port that the app is listening on
app.listen(port, function () {
console.log('Example app listening on port ' + port);
});
21 changes: 21 additions & 0 deletions react-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
2,433 changes: 2,433 additions & 0 deletions react-app/README.md

Large diffs are not rendered by default.

Loading