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

Setup local development environment #263

Open
rajpaul opened this issue Mar 5, 2023 · 13 comments
Open

Setup local development environment #263

rajpaul opened this issue Mar 5, 2023 · 13 comments
Assignees

Comments

@rajpaul
Copy link

rajpaul commented Mar 5, 2023

No description provided.

@rajpaul
Copy link
Author

rajpaul commented Mar 5, 2023

@natea What version of of python i should use in my local virtual environment. Oldest version of the packages are blocking me to install in my local. Please let me know if you have idea.

@rajpaul rajpaul changed the title Setup development environment Setup local development environment Mar 5, 2023
@rajpaul
Copy link
Author

rajpaul commented Mar 6, 2023

@natea I have successfully installed smallslive in my local using python2 but the problem is i cant compile sass as the following error. The reason is deprecated version of node-sass.
ERROR - DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0 due to sass version compatibility.

@natea
Copy link
Member

natea commented Mar 6, 2023

@rajpaul I'm not really sure what the problem is, but I suggest asking @mprunell as he's more familiar with the codebase and setting up the local development environment.

@natea
Copy link
Member

natea commented Mar 6, 2023

@rajpaul I just did a quick google search for that error, and came across this comment which suggests a fix is downgrading sass to 1.32.
twbs/bootstrap#34051 (comment)

@rajpaul
Copy link
Author

rajpaul commented Mar 7, 2023

@natea I have successfully setup the basic site (without third party i.e. Amazon S2 , Stripe etc) in my local environment. But i cant push the code changes. It says permission denied. Please have a look.

@natea
Copy link
Member

natea commented Mar 7, 2023

@rajpaul The reason you couldn't push your changes is because your group only had read access:

Image

I've now changed your permissions, so you now have write permissions as well:

Image

@rajpaul
Copy link
Author

rajpaul commented Mar 8, 2023

@natea I have pushed my changes to a new branch develop_2023 . Please have a look.

@natea
Copy link
Member

natea commented Mar 8, 2023

@rajpaul i can see that you made changes to the requirements.txt file, but it doesn't appear that you've pinned the version numbers of the 3rd party dependencies. cf3cee4

This can get you into trouble when the next time you push a deploy, Heroku pulls down a newer version of a Python package that's incompatible with the version of Django we're using. Can you please pin the versions of all the dependencies?

CC @mprunell

@rajpaul
Copy link
Author

rajpaul commented Mar 9, 2023

@natea Sorry about that i forgot to freeze the local packages in my last commit. I have now locked the requirements to requirements/local.txt . Please have a look now 8c063b2

@natea
Copy link
Member

natea commented Mar 29, 2023

@rajpaul is this task completed yet? Can we move it to Done?

@rajpaul
Copy link
Author

rajpaul commented Mar 29, 2023

@natea Yes we can move it to done.

@natea
Copy link
Member

natea commented Mar 29, 2023

Great, thanks @rajpaul !

Can you update the Oscar and dj-stripe tasks with an update on how those are going?

@natea
Copy link
Member

natea commented Apr 12, 2023

@rajpaul please move done tasks to the done column, and remember to update the other tasks as you're making progress on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants