Git Product home page Git Product logo

saveourfaves-server's People

Contributors

mikeyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

saveourfaves-server's Issues

Issues running Django Instance

Hey Mikey - thanks so much for working on this, it's an awesome product. I'm a pretty junior developer in university trying to spin off a version of this, not a whole lot of docker experience. I followed all the instructions but when I run docker ps it only shows that the postgres container is running. Running docker ps -a shows that the two docker containers for frontend and backend have already been exited. Any clue why this happening and not running the Django instance?

Error when trying to run /api and /admin

HI mikeyk, thank you so much for sharing this out, I fresh with the Django and other language in here.
After I finish setup, I was able to run the homepage.

But when I try to inspect the network using google chrome, I saw that "/api/places/by_neighborhood" giving out Error 502.

For the admin site, at first I had forgot to generate htpasswd it given some error when trying to login.
So i had to generate an htpasswd formatted file, and use "sudo docker-compose down" and "sudo docker-compose up -d" to update the changes.
When I try login after that, no matter what the username or password I key in, it come out Error 500.

The only step I not following is the "generate certificates using letsencrypt".
Any clue why this happening?

Besides that, I want to ask about the docker-compose.yml and docker-compose.prod.yml
What the different between docker-compose.yml and docker-compose.prod.yml?
When we run docker-compose up -d, which of the following file will be trigger?
If we want to publish to live, which of the following yml file should we run?

And for the db in "https://github.com/mikeyk/saveourfaves-server/blob/master/db/docker-compose.yml", I found out that the postgres-data folder is missing inside the db folder.

Thank you.

psycopg2.OperationalError: could not connect to server: Connection refused

Hey @mikeyk

I am very much new with docker.
I am facing some issues. Here below is my docker ps result

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f66f0258f509 postgis/postgis "docker-entrypoint.s…" 23 seconds ago Up 13 seconds 0.0.0.0:5432->5432/tcp db_postgres_1
5da824e0923f server_frontend "nginx -g 'daemon of…" 56 seconds ago Up 45 seconds 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp server_frontend_1
dc16f60732d2 server_backend "bash -c 'pip instal…" About a minute ago Up About a minute 0.0.0.0:8000->8000/tcp server_backend_1

When I am running python manage.py migrate comment it showing be below error.

psycopg2.OperationalError: could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?

I have put DB_HOST=127.0.0.1

Developers willing to help expand this idea

Hello mikeyk,

I know this is not the right place to send the message but was not able to get your attention through other methods. Please forgive me for that.

5~10 developers, most working at Microsoft, are willing to volunteer for this project. We have same goal as yours. Helping small businesses.

We had a meeting and came up with a few ideas we can contribute/but not limited to:
Store validation, adding non-restaurant small business, marketing & outreach to small businesses, yelp API or other pre-existing store API integration, Google map integration etc.

Also, I am sure you have heard about Coronavirus global hackathon going on. Our team thinks that your Idea should be registered for this hackathon for getting greater attention to the public and thus helping more small businesses.

Please message me through Linkedin 24/7 to further discuss on this. We are more that happy to work on this project.

Stay healthy,
Jihoo Park

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.