mirror of
https://github.com/AdaCore/code_examples_server.git
synced 2026-02-12 12:45:18 -08:00
22668eb9e49aadd093f6daafced31f44e756e7cf
... it returns 0 even if messages were found.
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 makemigrations
./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/a
To launch the server, do this:
./manage.py runserver
Description
Languages
Python
91.7%
HTML
4.5%
Makefile
1.3%
Ada
0.9%
Shell
0.9%
Other
0.7%