forked from CyberAula/vish_editor
-
Notifications
You must be signed in to change notification settings - Fork 0
How to Install Vish Editor with Apache
Aldo edited this page Feb 9, 2015
·
7 revisions
Go to your workspace and clone the ViSH Editor repository:
git clone [email protected]:ging/vish_editor.git
Then, copy the /configuration/configuration_example.js file to /configuration/configuration.js and fill all the configuration values.
cd /vish_editor
cp /configuration/configuration_example.js /configuration/configuration.js
Create a new file in /etc/apache2/sites-available and link the file to sites-enabled.
Use #{vish_editor_folder} as your document root.
Edit the file (for example: /etc/apache2/sites-enabled/default):
DocumentRoot #{vish_editor_folder}
<Directory />
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory #{vish_editor_folder}/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Finally, restart apache.
sudo /etc/init.d/apache2 restart