# Sage 10 on Pantheon, a guide and method

**URL:** https://discourse.roots.io/t/sage-10-on-pantheon-a-guide-and-method/19978
**Category:** sage
**Tags:** sage10
**Created:** 2021-01-30T19:31:27Z
**Posts:** 18
**Showing post:** 12 of 18

## Post 12 by @frankstallone — 2021-03-05T13:52:51Z

**Latest Pantheon Sage 10 Setup directions**  
_Version 3.0-beta - Mar 5, 2021_

1. Add node\_modules/ to the Pantheon project repo’s `.gitignore`
2. Clone Sage 10 in themes folder git clone [https://github.com/roots/sage.git](https://github.com/roots/sage.git)
3. `cd sage/`
4. `rm -rf /.git`
5. `rm -rf /.github`
6. `rm -rf /.gitignore`
7. `composer install --prefer-dist --no-dev`
8. `yarn install && yarn build && yarn build:production`
9. Update `config/view.php` to, `'compiled' => wp_upload_dir()['basedir'].'/storage/framework/views'`,
10. mkdir `../../uploads/` (if it doesn’t exist)
11. `mv storage/ ../../uploads/storage`
12. `ln -sfn ../../uploads/storage`
13. `mv bootstrap/cache ../../uploads/bootstrap/cache`
14. `cd bootstrap/`
15. `ln -sfn ../../../uploads/bootstrap/cache`
16. `composer install --no-dev`
17. Updated local url in `webpack.mix.js` (for Lando or Localdev)
18. Git commit all these changes
19. SFTP Mode: Upload `storage/` folder to `/code/wp-content/uploads`
20. SFTP Mode: Upload `bootstrap/cache/` folder to `/code/wp-content/uploads`
21. Git Mode: Git push!

---

_[View the full topic](https://discourse.roots.io/t/sage-10-on-pantheon-a-guide-and-method/19978)._
