-
Notifications
You must be signed in to change notification settings - Fork 0
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
"sqlite3.OperationalError: no such table" when doing make #146
Comments
@roperi I was able to bootstrap a brand-new environment by following the "Getting Started" instructions (which I tweaked slightly in 8feb843). It looks like the issue is that Also, what's your goal with cloning this repo? It's very specific to https://www.hallelujahthehills.com/. For example, |
Hi @bhrutledge ! Thanks for the project. I wanted to set up a site for my sister's band using django and thought your project was the best choice among several I also checked. I also find it very interesting how it is structured (compared to other django projects i have seen) so I'm also learning from it so I can leverage your experience for future projects (especially the deployment bit). I forked it first but since I'm a still learning Github and git I decided to clone it and made it private instead so I don't screw up yours by some errant git push. At the moment i'm reading about how to manage remote branches because for some reason my local and origin repos ended up in the datasette branch. I only notice the |
By the way, the
I saw some of these: Should I open a new issue about this ? |
@roperi Cool! I'm flattered! It's been a great learning project for me (and helped me get a job as software engineer). One big caveat: it's currently using Django 1.11, which is no longer supported, and there's a lot of good stuff to use in the newer versions. One of the reasons for the static deployment was to avoid the security risks without having to put in the work to upgrade Django (which I've captured in a GitHub project). That said, I'm happy to help you get it working as an example. Re: the test failures, I was able to reproduce that locally by running To get it working locally, I recommend updating your fork (or recreating it) to get my latest changes, and using a fresh clone of that to go through the updated Getting started instructions (which are quite sparse, because they were only intended for me). Using a fork is the most common way to customize someone else's work on GitHub. I also wouldn't worry about it being public. Feel free to continue commenting on this issue with your progress. And, out of curiosity, what operating system are you using? |
Hi! Well, I think this project looks very professional and and I'm not surprised you got a job because of it! Especially the TDD approach (that's the definite sign of a serious programmer, i think). I'm using Debian 10. Gotta say I'm not a software developer but I have developed some python and django apps for my own professional use. So please bare with me as I'm still slow! By the way, I didn't encounter problems when running Thanks so much for offering help. I'll try again once I fully understand your comments above. |
I tried again the I managed to merge your latest changes. I'm basically following this Create a private fork of a public repository guide. So far so good and I can still do pull requests. At the moment I'm checking the code. Specifically the makefiles and the app configuration, models, admin and views. I don't get when we should use the |
Nice! The Makefile would definitely benefit from some more commenting. 😉 |
Appreciate your help! I have some -perhaps very naive- questions, if you don't mind answering.
Thanks again! EDIT I now know answer to question 2. UPDATE I think I get everything now. I'll attempt to deploy it during this weekend. Sorry for posting these questions. |
All good! Thanks for the update. Let me know how it goes. :) |
Hi @bhrutledge ! I did it! I deployed it successfully! Now I'm going to edit the HTML/CSS. Thanks again for the project! I had fun and learned quite a lot! |
@roperi Hooray! Nicely done! Where you did you deploy it? Also, I’d love to see the site and your repo. Can you share those? |
@bhrutledge ! Sure. I made it public at roperi/coctelduo. I worked on the develop branch where I stripped out many things to build from there while I learn a bit more about make and testing. Site is at coctelduo.com but it is still a work in progress. It's basically a clone as I haven't touched the html/Css yet. |
@roperi Thanks for sharing! The site is looking great! I also took a look at the repo earlier, and was going to make some suggestions by opening issues, but it looks like you took it down. Do you mind making it public again? Or adding me as a collaborator? Since I think we've resolved your original issue, I'm going to close this, but feel free to add more comments. |
Thanks, @bhrutledge ! I forgot to mention I credited you as the site creator. And yes, I put it back to private again when I realised I pushed the |
@roperi Have you read through https://docs.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository? That seems to give you a few options. Alternatively, if you don't care about the commit history, you could start over by deleting the repository on GitHub, removing the Either way, you should change the private details that were committed. For example, if it was an API key, you should generate a new one. |
Alright, @bhrutledge . Good idea! I'll do this this weekend. Thanks! |
Hi @bhrutledge . I pushed it here |
@roperi Good stuff! As you probably saw, I created a handful of issues based on a quick scan of the repo. I'm guessing some of those were already on your radar. I've found it useful to track my todo's that way, but if feel free to close them if it's not useful for you. |
I'm getting whilst running the migrations just after bootstraping with make.
make
If I run
make
again I getNo migrations to apply
but then fails again with:Then make test fails
The text was updated successfully, but these errors were encountered: