Rock-editor
Rock-editor is a cloud editor. Through this editor, you can make or fix your codes in your server(editor installed). and it assists to control the folders and files in the server. Because It is the cloud editor, you can use this editor anywhere if you have browser (like mobile, tablet).
Django
Rock-editor is python Django project with html, javascript, jquery.
Code Mirror
This editor use code-mirror to fix the codes. Codbmirror is open-source text editor implemented in JavaScript for the browser. codemirror pages
Bootplus
Boot plus is Google styled front-end framework for faster and easier web development. boot plus pages
Usage
1) Clone this project
2) Install Django
- sudo apt-get install python-django
3) Run Django project wigs through gunicorn or another.
4) Login
- ID: admin, PW: asdf1234
- ID: guest, PW: asdf1234
- Change the password of admin.
- Guest id : Can not access to the upper directory of Rock Editor/Guest.
- Admin id : Can access all the files in the server.
Support or Contact
Document
app:Machine/view_dir
views.py
- coding
- * A view for coding. => coding
- result
- * A view for result of running codes.
- main
- * All pages is loaded by jquery at here.
- save
- * Save the code in the coding page.
views_folder.py
- find_folder
- * A view has a list of folders in the path.
- make_folder
- * A view for making a folder in the path.
- delete_folder
- * A view for delete folder in the path.
views_user.py
- login_view
- * A view for Login.
- logout_view
- * A view for Logout.
templates:
folder/
- delete_folder
- find_folder
- make_folder
/
- coding
- login
- main
- result
- save