1  curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -

    2  sudo apt-get install -y nodejs

    3  sudo apt-get install -y postgresql-9.5

    4  sudo apt-get install -y build-essential python3-dev python3-pip python3-cffi libcairo2 libpango-1.0-0 libpangocairo-1.0-0

    5  git clone https://github.com/mirumee/saleor.git

    6  export LC_ALL=C

    7  pip3 install virtualenv

    8  virtualenv -p python3 venv

    9  source venv/bin/activate

   10  cd saleor

   11  pip install -r requirements.txt

   12  pip install -r requirements_dev.txt

   13  export SECRET_KEY='<mysecretkey>'

   14  sudo -u postgres createuser -P -s saleor

   15  sudo -u postgres createdb saleor

   16  python manage.py migrate

   17  npm install

   18  npm run build-assets

   19  npm run build-emails

   20  vi saleor/settings.py

   21  python manage.py runserver 0.0.0.0:8000

' > django' 카테고리의 다른 글

django에서 i18n 다국어  (0) 2018.04.20
requirements usage  (0) 2017.06.08
django settings 분리  (0) 2017.06.03
장고 헬로우월드  (0) 2015.10.11
장고 부트스트랩 장고에 쓰기.  (0) 2015.10.11
Posted by wakira
,