Hi, I recently tried to deploy Mezzanine on Elastic beanstalk.
Mostly I followed the instructions from realpython <https://realpython.com/blog/python/deploying-a-django-app-to-aws-elastic-beanstalk/> on deploying a Django app on Elastic Beanstalk. Aside from installing a theme and making changes to local_settings.py to ready it for deployment, there wasn't any other adjustments I did. After deploying it successfully, the site looks great, and everything appears to be functioning normally. Except when I wanted to create my first post, I noticed that the WYSIWYG editor was missing, regardless whether I was changing or adding a blog post. The only way I am able to add a blog post now is through the Quick Blog feature on the Admin page dashboard, and then changing to site view, and calling up the WYSIWYG editor from the post on the site. <https://lh3.googleusercontent.com/-itPW5xwes8I/ViR5VkTg7KI/AAAAAAAAALY/rSmqGVFBaSg/s1600/Screen%2BShot%2B2015-10-18%2Bat%2B10.00.24%2BPM.png> <https://lh3.googleusercontent.com/-PHhFLSXzjGs/ViR5PvIUoEI/AAAAAAAAALQ/SeYYw2FHL1M/s1600/Screen%2BShot%2B2015-10-18%2Bat%2B10.00.55%2BPM.png> Here are the commands I ran on.ebextensions/.config: container_commands: 01_migrate: command: "source /opt/python/run/venv/bin/activate && python mezzy_top/manage.py migrate --noinput" leader_only: true 02_createsu: command: "source /opt/python/run/venv/bin/activate && python mezzy_top/manage.py createsu || true" leader_only: true 03_collectstatic: command: "source /opt/python/run/venv/bin/activate && python mezzy_top/manage.py collectstatic --noinput" 04_uninstall_pil: command: "source /opt/python/run/venv/bin/activate && yes | pip uninstall Pillow" 06_reinstall_pil: command: "source /opt/python/run/venv/bin/activate && yes | pip install Pillow --no-cache-dir" packages: yum: git: [] postgresql93-devel: [] libjpeg-turbo-devel: [] libpng-devel: [] freetype-devel: [] Requirements.txt: beautifulsoup4==4.4.1 bleach==1.4.2 chardet==2.3.0 Django==1.8.5 django-contrib-comments==1.6.1 filebrowser-safe==0.4.0 future==0.15.2 grappelli-safe==0.4.1 html5lib==0.9999999 Mezzanine==4.0.1 oauthlib==1.0.3 Pillow==3.0.0 psycopg2==2.6.1 pytz==2015.6 requests==2.8.1 requests-oauthlib==0.5.0 six==1.10.0 tzlocal==1.2 wheel==0.24.0 File tree: . > ├── __init__.py > ├── deploy > │ ├── crontab.template > │ ├── gunicorn.conf.py.template > │ ├── local_settings.py.template > │ ├── nginx.conf.template > │ └── supervisor.conf.template > ├── fabfile.py > ├── manage.py > ├── mysite > │ ├── __init__.py > │ ├── __init__.pyc > │ ├── local_settings.py > │ ├── settings.py > │ ├── settings.pyc > │ ├── urls.py > │ ├── urls.pyc > │ └── wsgi.py > ├── theme > └── static > └── media > └── uploads > ├── blog > └── gallery Been banging my head on this for days. Would really appreciate any help! -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
