Skip to content

Instantly share code, notes, and snippets.

@Seraf
Created July 15, 2014 14:53
Show Gist options
  • Save Seraf/603e8449dbda1b0a63b7 to your computer and use it in GitHub Desktop.
Save Seraf/603e8449dbda1b0a63b7 to your computer and use it in GitHub Desktop.
Angularjs LISA
# Clone the repo
╭─julien@tagada-work ~/Sandbox/
╰─➤ git clone [email protected]:Seraf/LISA.git
╭─julien@tagada-work ~/Sandbox/
╰─➤ cd LISA
# Go to angularjs branch
╭─julien@tagada-work ~/Sandbox/LISA ‹master*›
╰─➤ git checkout angularjs
# checkout submodule
╭─julien@tagada-work ~/Sandbox/LISA ‹angularjs*›
╰─➤ git submodule update --init
# Clean your mongo database, and create a new user (new model)
╭─julien@tagada-work ~/Sandbox/LISA ‹angularjs*›
╰─➤ env PYTHONPATH=. ./lisa/server/lisa-cli createsuperuser
# Then launch the twistd server
╭─julien@tagada-work ~/Sandbox/LISA ‹angularjs*›
╰─➤ env PYTHONPATH=. twistd -n lisa-server
# In another terminal, to launch the continuous angularjs build (to modify the code source and automatically compile the js/css)
╭─julien@tagada-work ~/Sandbox/LISA ‹angularjs*›
╰─➤ cd lisa/server/web/frontend
╭─julien@tagada-work ~/Sandbox/LISA/lisa/server/web/frontend ‹master›
╰─➤ grunt watch --force
Then go to http://127.0.0.1:8000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment