Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,633 changed files
with
927 additions
and
50,254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.