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

Separate static & media files #564

Closed
kardan opened this issue May 20, 2014 · 3 comments
Closed

Separate static & media files #564

kardan opened this issue May 20, 2014 · 3 comments
Assignees

Comments

@kardan
Copy link
Contributor

kardan commented May 20, 2014

Separate static assets from user uploaded content

Items 2 & 4 in the pre-upgrade.

Separate with Nginx for production and Django dev server in dev (last resort)?

@kardan kardan self-assigned this May 20, 2014
kardan added a commit that referenced this issue May 20, 2014
kardan added a commit that referenced this issue May 20, 2014
kardan added a commit that referenced this issue May 21, 2014
@kardan
Copy link
Contributor Author

kardan commented May 26, 2014

Server "confs" that needs to happen (notes):

  • create /var/akvo/rsr/staticroot with correct permissions
  • apt-get install nodejs
  • npm -g install yuglify
  • npm -g install less
  • make sure the
  • akvo-rsr/akvo/rsr/static/rsr/sites/css/src needs to have permissions that enable the vagrant box rsr user to write css files from the less files. (vagrant will be the owner).

@kardan
Copy link
Contributor Author

kardan commented Jun 5, 2014

If static files (css, images & javascript) are available & are hosted from the /static/.. then we have succeeded. User uploaded images and other files will be served from /media/ !

@adriancollier
Copy link
Contributor

Closing as code is reviewed and merged.

@MichaelAkvo MichaelAkvo added this to RSR Dec 8, 2022
@MichaelAkvo MichaelAkvo moved this to Done in RSR Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants