Comments (26)
Hi, I'm a first timer is it possible for me to take this?
from shopcube.
Ye no problem. 😺
from shopcube.
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.
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.
@blips5 sorry how do I setup my local env?
from shopcube.
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.
@blips5 Hi I'm having trouble setting things up
from shopcube.
@abimael-o-o cd into the folder having requirements.txt then run python -m pip install -r requirements.txt
from shopcube.
@Abdur-rahmaanJ I did that (Requirement already satisfied) but get same errors
from shopcube.
@abimael-o-o those are pylint errors. try running python run.py
from shopcube.
@Abdur-rahmaanJ It starts but I cant reach the site
from shopcube.
@abimael-o-o go to 127.0.0.1:5000
from shopcube.
from shopcube.
@abimael-o-o now see the readme where you have to run python manage.py db init etc
from shopcube.
@Abdur-rahmaanJ Okay, do I run those commands again?
from shopcube.
yes!
from shopcube.
@Abdur-rahmaanJ Okay I ran all three and still got this
from shopcube.
delete db and migrations folder and try the 5 commands in order
from shopcube.
@Abdur-rahmaanJ I don't see those folders?
from shopcube.
@abimael-o-o you may need to use file explorer to see them may not show in the IDE.
from shopcube.
from shopcube.
@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.
I cloned the repo
from shopcube.
@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.
Thank you! @blips5 @Abdur-rahmaanJ It works now
from shopcube.
😺
from shopcube.
Related Issues (20)
- docs: use dirhtml instead of html to build the docs
- refactor: use src layout for more organized layout, easier test, prevent junk imports etc HOT 1
- bug: duplicate code for auto config HOT 1
- Set logo to shopyo.png HOT 2
- Add docs/ to .gitignore
- Bug: setting .flaskenv raises ModuleNotFoundError: No module named 'modules' HOT 2
- Fix new command
- FEAT: separate the api and template part HOT 2
- TEST: add a way to test `initialise` after `new` command
- test issue
- DOCS: move the sphinx_source to root and rename it to docs
- DOCS: remove github pages from Environments HOT 1
- DOCS: Add flask shell instructions
- FEAT: yorender which accepts context as dictionary
- Cannot Update picture for products! HOT 3
- [feature request] Localization support HOT 1
- Add theming support on README
- Add kofi link to title in README HOT 1
- Change logo link in README HOT 1
- Don't allow add to cart if out of stock!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shopcube.