Nicolas Setton 317c180aee R525-028 Add support for editors with just a 'Run' button
Enable the running backend (in completely unsafe mode for now)
Code cleanup in editors.js.

For inline editors, do not require an AJAX request to get the
example base, assume everything is provided inline.

Add support for providing shadow files: these will not be displayed
in editors but will be transmitted to the backend.
2018-06-05 12:54:01 -04:00
2017-05-06 22:38:49 -04:00
2018-04-20 11:01:14 -04:00
2017-05-06 22:40:28 -04:00
2017-05-06 22:38:49 -04:00
2018-04-20 11:01:14 -04:00
2017-12-18 07:57:37 -05:00

code_examples_server

Prototype server for creating interactive "try SPARK / try Ada" webpages

Getting started

To setup, do this:


# This is to create the virtualenv and install Python stuff
virtualenv env
source env/bin/activate
pip install -r REQUIREMENTS.txt

# This is to initialize the django database
 ./manage.py migrate

# This is to get the ACE editor
cd compile_server/app/static
git clone https://github.com/ajaxorg/ace-builds.git

To enter the environment, to this

source env/bin/activate

To enter some examples in the database, do this:

./manage.py fill_examples --dir=resources/example/hello_world

To enter many examples in the database where the examples are listed in a yaml file, do this:

./manage.py fill_examples --conf=resources/test_conf.yaml

To launch the server, do this:

./manage.py runserver
Description
No description provided
Readme 408 KiB
Languages
Python 91.7%
HTML 4.5%
Makefile 1.3%
Ada 0.9%
Shell 0.9%
Other 0.7%