Skip to content

Commit

Permalink
New VE architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
agordillo committed Dec 1, 2014
1 parent c2e816a commit f0b222f
Show file tree
Hide file tree
Showing 1,633 changed files with 927 additions and 50,254 deletions.
15 changes: 2 additions & 13 deletions .gitignore
@@ -1,17 +1,6 @@
node_modules
data
configuration/configuration.js
public/vishEditor/configuration/configuration.js
public/uploads/*

public/vishEditor/.DS_Store
public/vishEditor/.project
public/vishEditor/rails/compiler/
public/vishEditor/rails/lib/
public/vishEditor/.settings
public/vishEditor/rails/.rvmrc
public/vishEditor/.externalToolBuilders/
public/animal-farm
.DS_Store
.project
.settings
.gitignore~
README.md~
12 changes: 0 additions & 12 deletions .project

This file was deleted.

43 changes: 7 additions & 36 deletions README.md
@@ -1,67 +1,38 @@
Vish Editor
===========================


-----------------------------------------------------
Init
Getting Started
-----------------------------------------------------

Install node.js:
https://github.com/joyent/node/wiki/Installation

Go to your workspace and clone vish_editor project:
git clone git@github.com:ging/vish_editor.git

cd /vish_editor

npm install

Rename /configuration/configuration_example.js to /configuration/configuration.js , and fill all configuration values.

Also rename public/vishEditor/configuration/configuration_example.js to public/vishEditor/configuration/configuration.js .

mkdir data

mongod --dbpath ./data/

node app.js


-----------------------------------------------------------
Configuration
Working with Vish Editor with Apache
-----------------------------------------------------------

To enable sign in with twitter/facebook in development, include this line in your /etc/hosts:

127.0.0.1 dev.visheditor.com

Remember to add the appropiate keys in your ~/configuration/configuration.js file.
Create a new file in /etc/apache2/sites-available and link the file to sites-enabled, and use ~/vish_editor as your document root.

For example:
Edit /etc/apache2/sites-enabled/default


-----------------------------------------------------------
Working with Vish Editor without Node.js
-----------------------------------------------------------

Just use ~/vish_editor/public as your document root.

For example, in Apache:
Edit /etc/apache2/sites-enabled/000-default

DocumentRoot ~/vish_editor/public
DocumentRoot ~/vish_editor
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory ~/vish_editor/public/>
<Directory ~/vish_editor//>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>


Just replace ~/vish_editor/public with your full path.

Finally, restart apache.
sudo /etc/init.d/apache2 restart
71 changes: 0 additions & 71 deletions README.md2

This file was deleted.

90 changes: 0 additions & 90 deletions app.js

This file was deleted.

0 comments on commit f0b222f

Please sign in to comment.