Skip to content

H-Huang/LL1-Academy

Repository files navigation

Build Status GitHub releases GitHub issues GitHub stars GitHub forks GitHub license

LL1-Academy

Team 🔥 :

Julien Brundrett Howard Huang Vincent Siu Elise Yuen Vivian (Ni) Zhang
@jbrundrett @H-Huang @vincesiu @eliseyuen @vivz

Introduction:

The LL(1) Academy web application is intended to be used as a resource for students to gain more familiarity with compiler concepts such as LL(1) grammars, First sets, and Follow sets.

Getting Started:

If you have docker + docker-compose installed locally:

docker-compose up

Otherwise download Vagrant and VirtualBox 5.1.18

vagrant up
vagrant ssh (or use "ssh -p 2222 vagrant@localhost" with password vagrant)
cd /vagrant
docker-compose up

The commands above will use Docker Compose to run the Django/PostgreSQL app. You will be able to view the application on your local computer on localhost:8000/.

Important files:

cs130_LL1/settings.py: Modify project-wide settings (type of database, static folder location, etc.)

cs130_LL1/urls.py: Routing for the multiple url and pages for the application.

cs130_LL1/static/: Where the static assets are stored for development.

LL1_Academy/migrations/: Contains all the database migrations.

LL1_Academy/admin.py: Models here are detected in the admin panel.

LL1_Academy/models.py: Database models through Django's ORM.

LL1_Academy/tests.py: Test cases for features in the application.

LL1_Academy/views/: Where the majority of the web application logic is