Sign inSign up

calidae/vue

By calidae

•Updated almost 9 years ago

Docker image with vue

Image
0

288

calidae/vue repository overview

⁠Cheetah

⁠Installation

Its highly recomanable to install all python packages in a virtualenv:

virtualenv -p /usr/bin/python3 .venv
source .venv/bin/activate

With the virtualenv active, install all python and node dependences:

make dev

In order to have VUE frontend working you will need npm http://nodesource.com/blog/installing-node-js-8-tutorial-linux-via-package-manager/⁠

To avoid some requirements it is usefull to install cross-env

npm install cross-env
⁠Configuration

Copy cheetah/.env.example to cheeta/.env and configure a database (postgres is highly recommended, in that case you will need postgresql-client)

⁠First time kick off

Execute migrations and create a super user

python manage.py migrate
python manage.py createsuperuser

⁠Execution

make run
  • Open http://127.0.0.1:8000 to enter the Vue fronted.
  • Open http://127.0.0.1:8000/admin/ to enter the Django Admin.

⁠FAQ

  • Hot reload is not working!!! D: D: D:
echo fs.inotify.max_user_watches=32768 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

Tag summary

Content type

Image

Digest

Size

55.6 MB

Last updated

almost 9 years ago

docker pull calidae/vue