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

Get Started w/ Django - RealPython #23

Open
Gizmotronn opened this issue May 2, 2020 · 4 comments
Open

Get Started w/ Django - RealPython #23

Gizmotronn opened this issue May 2, 2020 · 4 comments
Assignees
Labels
applets django duplicate This issue or pull request already exists open source projects os projects with py python therealpython issues/code from https://www.thepythoncode.com/

Comments

@Gizmotronn
Copy link
Owner

#20 #21

Starting a new django project via https://realpython.com/get-started-with-django-1/

Now that we've installed django and figured out what went wrong previously, we can now move onto closing those "issues/threads" and starting an actual django project

@Gizmotronn Gizmotronn added duplicate This issue or pull request already exists python open source projects os projects with py therealpython issues/code from https://www.thepythoncode.com/ applets django labels May 2, 2020
@Gizmotronn Gizmotronn self-assigned this May 2, 2020
Gizmotronn added a commit that referenced this issue Jun 3, 2020
acord-robotics#15
IrisDroidology#3
#23 #36 

add enemy class

from notion on the first issue https://notion.so + AC0/RD Dashboard + slack//apps for ac0rd

Also see prev commits like the notion says!
@Gizmotronn
Copy link
Owner Author

#36 new commit coming in soon + https://codecombat.com/play/level/known-enemy? in dungeon : with

# You can use a variable like a nametag.

enemy1 = "Kratt"
enemy2 = "Gert"
enemy3 = "Ursa"

while True:
    hero.attack(enemy1)
    hero.attack(enemy2)
    hero.attack(enemy3)


#hero.attack(enemy1)

#hero.attack(enemy2)

IrisDroidology added a commit to IrisDroidology/python-learning that referenced this issue Jun 7, 2020
…> Docs

https://realpython.com/get-started-with-django-1/

Here's what we have to do to get the directory open:

(This assumes that the directory is C:\Users\droid\myproject\personal_portfolio, with "droid" being your username for your windows 10 device):

cd myproject
cd personal_portfolio

https://acord.software/stellarios/python-discussion

Gizmotronn#23

I created the project "personal_portfolio" in the folder "myproject", which is a django app/project

We used `$ python3 -m venv venv` to create the virtual environment, but that's already been done, so to activate it we now have to do `venv\Scripts\activate.bat` --> because we're on Windows 10 rather than on Linux

To activate venv:
cd myproject
venv\Scripts\activate.bat

Then we need to install django, which has already been done on this venv

Now we need to move into the `personal"_portfolio"` folder inside the myproject venv and execute this command:
`django-admin startproject personal_portfolio`

cd personal_portfolio

Then `python manage.py runserver`

https://github.com/realpython/materials/tree/a639f1c2f85032334fbb4dca88f3e8dc88397f6d/rp-portfolio

https://www.google.com/search?rlz=1C1CHBF_en-GBAU885AU885&sxsrf=ALeKk03EZHohZl6KD8Sn2siu7IqcRjsIMA%3A1591516257995&ei=YZzcXuKkPNCD4-EP9ci5mAc&q=%22django%22+and+raspberry+pi+robot&oq=%22django%22+and+raspberry+pi+robot&gs_lcp=CgZwc3ktYWIQAzIECCMQJzoHCAAQRxCwA1CaNVilOmCPPGgBcAB4AIAB2wGIAbUDkgEDMi0ymAEAoAEBqgEHZ3dzLXdpeg&sclient=psy-ab&ved=0ahUKEwii2diJnO_pAhXQwTgGHXVkDnMQ4dUDCAw&uact=5

Commit part 1

Co-Authored-By: Liam Arbuckle <[email protected]>
@Gizmotronn
Copy link
Owner Author

31dd183

Gizmotronn referenced this issue Jun 23, 2020
Clickup: CU-1wv8mm
@Gizmotronn
Copy link
Owner Author

acord-robotics/stellarios#93 (comment)
CU-1wv8mm

@Gizmotronn
Copy link
Owner Author

Gizmotronn added a commit to Gizmotronn/django-start that referenced this issue Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
applets django duplicate This issue or pull request already exists open source projects os projects with py python therealpython issues/code from https://www.thepythoncode.com/
Projects
None yet
Development

No branches or pull requests

1 participant