NOTE: Requires virtualenv, virtualenvwrapper, Node.js. and mysql-server with a database created for the project.
-
$ git clone [email protected]:daurgil/thinkster-django-angular-boilerplate.git
-
$ mkvirtualenv thinkster-djangular
-
$ cd thinkster-django-angular-boilerplate/
-
$ ./scripts/preInstall.sh
-
$ pip install -r requirements.txt
-
$ npm install -g bower
-
$ npm install
-
$ bower install
-
editar thinkster_django_angular_bolierplate/settings.py to set-up database name, user and password
-
$ python manage.py syncdb
-
$ python manage.py runserver
-
Para hacer uso del codigo sass se necesita lanzar: sass --watch styles.scss:styles.css
https://pythoniza.me/deploy-de-proyectos-django-en-vps-con-linux-ubuntudebian/)
Se han de realizar algunos cambios para que se pueda realizar el deploy. Siguiendo el anterior tutorial, tened en cuenta que nosotros hemos usado MySQL.
- se necesita modificar la primera linea del archivo manage.py del proyecto $
#!/usr/bin/env python
con la ruta del fichero python del entorno virtual del proyecto