Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create static_assets using __init__.py in the project root #48

Open
2 tasks
klam00 opened this issue Aug 25, 2016 · 0 comments
Open
2 tasks
Labels

Comments

@klam00
Copy link

klam00 commented Aug 25, 2016

(Describe the issue here)
init.py

from skygear import static_assets
from skygear.utils.assets import directory_assets

@static_assets('/dev')
def deploy_to_skygear():
    return directory_assets('dist')

This file was in the project root.
When I git push to MYAPPNAME.skygear.io, static assets not getting created.

  • Skygear Server Date/Version:
  • Application Platform:
  • Is this a regression?
  • Attached logs, screenshots

Expected Results

Actual Results

Steps to reproduce

  1. put this file in the project root, assume your 'dist' folder is not empty
  2. git push $MYAPPSKYGEAR $BRANCH:master
  3. go to 'http://MYAPPSKYGEAR.skygear.io/static'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants