GithubHelp home page GithubHelp logo

Comments (26)

abimael-o-o avatar abimael-o-o commented on June 1, 2024 1

Hi, I'm a first timer is it possible for me to take this?

from shopcube.

blips5 avatar blips5 commented on June 1, 2024

Ye no problem. 😺

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

Can I get some instructions on what exactly I'm supposed to do and what the result should be? Sorry, I am still quite new to this.

from shopcube.

blips5 avatar blips5 commented on June 1, 2024

Hi abimael-o-o

Have up managed to get everything setup ?

I'll try and break it down a bit.

first you will need to create a model for employee in the model.py file could maybe copy a similar model and adapt it. have a look at SQLAlchemy.

Next would be to update the database. (its on the README.md).

Then create your views in the view directory and then create your templates.

Hope this helps any more questions just ask. 😺

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

@blips5 sorry how do I setup my local env?

from shopcube.

blips5 avatar blips5 commented on June 1, 2024

Hi abimael-o-o,
Have you got python installed do you know how to make a virtual env.

If so make a fork in top right and make a clone of your shopyo repository. cd into the shopyo folder then follow instructions on the README.md. hope this helps good luck. 😺

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

@blips5 Hi I'm having trouble setting things up
image

from shopcube.

Abdur-rahmaanJ avatar Abdur-rahmaanJ commented on June 1, 2024

@abimael-o-o cd into the folder having requirements.txt then run python -m pip install -r requirements.txt

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

@Abdur-rahmaanJ I did that (Requirement already satisfied) but get same errors

from shopcube.

Abdur-rahmaanJ avatar Abdur-rahmaanJ commented on June 1, 2024

@abimael-o-o those are pylint errors. try running python run.py

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

@Abdur-rahmaanJ It starts but I cant reach the site
image
image

from shopcube.

Abdur-rahmaanJ avatar Abdur-rahmaanJ commented on June 1, 2024

@abimael-o-o go to 127.0.0.1:5000

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

This?
image

from shopcube.

Abdur-rahmaanJ avatar Abdur-rahmaanJ commented on June 1, 2024

@abimael-o-o now see the readme where you have to run python manage.py db init etc

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

@Abdur-rahmaanJ Okay, do I run those commands again?

from shopcube.

Abdur-rahmaanJ avatar Abdur-rahmaanJ commented on June 1, 2024

yes!

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

@Abdur-rahmaanJ Okay I ran all three and still got this
image

from shopcube.

Abdur-rahmaanJ avatar Abdur-rahmaanJ commented on June 1, 2024

delete db and migrations folder and try the 5 commands in order

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

@Abdur-rahmaanJ I don't see those folders?
image

from shopcube.

blips5 avatar blips5 commented on June 1, 2024

@abimael-o-o you may need to use file explorer to see them may not show in the IDE.

db

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

Seems like I don't have it
image

from shopcube.

blips5 avatar blips5 commented on June 1, 2024

@abimael-o-o how did you get the project did clone it or download.
if you downloaded it. Did you extract the zip files before running the project?
😺

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

I cloned the repo

from shopcube.

blips5 avatar blips5 commented on June 1, 2024

dbbug
@abimael-o-o i deleted my local and recreated the bug

see if you have file test.db delete it if it not their still try rest of instructions

un comment the db.create() all in the initialise.py file.
run python manage.py db init

run python apply_settings.py

run python run.py

😺

from shopcube.

abimael-o-o avatar abimael-o-o commented on June 1, 2024

Thank you! @blips5 @Abdur-rahmaanJ It works now

from shopcube.

blips5 avatar blips5 commented on June 1, 2024

😺

from shopcube.

Related Issues (20)

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.