Giter VIP home page Giter VIP logo

Comments (95)

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

First off, who has access to the heroku account?

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Me, and it's a personal account.

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Okay!!

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

NO offense, but why personal?

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Because it has to have an email, and backend requires lots and lots of pushes that I can't test locally on Windows.

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Ah, okay! :D

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Make different issues for each question, so it's cleaner.

from elemental.

quat1024 avatar quat1024 commented on June 17, 2024

Hmm. One one hand, it's not like we have a finite number of issues. On the other hand, I think a discussion topic like this would be great for quick questions. Hmm. I'll add a tag instead

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Okay!

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

We should keep issues for planning and bugs. Not questions. That's why I made this :P

from elemental.

quat1024 avatar quat1024 commented on June 17, 2024

Oh yeh that makes sense. So the "closed issues" list doesn't get filled up with "what's my username again" and "what is 2+2", but is a list of... closed issues. ๐Ÿ˜›

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Yep!

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

So this is more like a chat channel? :P

from elemental.

quat1024 avatar quat1024 commented on June 17, 2024

It is now :P

OH Firedrake pls add TheInitializer to the Programmers group

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Ok, what'll he be doing?

from elemental.

quat1024 avatar quat1024 commented on June 17, 2024

Idk, he showed interest in backend stuffz in #20, and people not in the Programmers group can't push stuff, tag/close issues, or do anything really.

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Ok
@TheInitializer
Just don't push anything direclty to the dev/staging/master branch - pull request first.

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Everyone's accounts are deleted due to some issues - please note this may occur frequently.

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

Is "hello" the main site? If not then what is? And why is it called "hello"?
Edit: It looks like a hello world program? What's it doing in here?
Edit 2: Oh wait, it's the main site.

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

I'm a github n00b, sorry. How do I make a pull request?

from elemental.

PullJosh avatar PullJosh commented on June 17, 2024

To make pull request:

  1. Create branch and push your code
  2. Visit the branch's home page
  3. Under the dropdown that states the current branch, there's a light grey colored bar. On the left of that is a "Pull Request" button.
  4. Don't accept your own request, even if you can - have someone else review your code first.

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

@TheInitializer
Do you know how to set up a Django app and run migrate/makemigrations on Windows?

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

@Firedrake969 I'm familiar with syncdb, its predecessor. I assume they aren't very different?
And yeah, I know how to set up an app and models and stuff

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

I just meant get an app running on localhost, and somehow getting virtualenv or something to be able to makemigrations and migrate (basically however you ran syncdb before, but a slightly different command)

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

Ok then I can do that

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

yeah, how? detailed instructions please?

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

manage.py startapp appname creates an app, and then once you've made the changes to the models you run the migrate and makemigrations commands. I've never done it in a virtualenv though, but I don't suspect that would make a big difference.

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

What pip packages do you have to have installed?
(or just pip freeze and post it here)

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

I already have apps created (check out the dev branch, projects is one such app) but running migrate/makemigrations fails. Could you try it out?

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

fyi the command isn't migrate /makemigrations, migrate and makemigrations are two separate commands.

and sure I'll try it

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

I know, I was just doing a slash but was too lazy to put the extra two backticks in xD
Also, could you tell me what prints when you do pip freeze?

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

I'm getting a ImportError: No module named dj-database-url. Is this the same error you get?
Edit: syncdb gives me the same result.
Edit 2: pip took care of that for me :P
Now I get a error saying that postgre isn't installed (which it isn't). I'll install that now. (I normally use MySQL)

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Ok, keep me updated please :)
(can't test for myself atm)

from elemental.

PullJosh avatar PullJosh commented on June 17, 2024

n00b JS question...
If I have this HTML:

<label class="paletteOptionWrap" for="p1">
  <input type="radio" name="palette" value="p1" id="p1" />
  Palette 1<span class="paletteColorIndicator" data-color="#0f0"></span>
</label>

and this JS (w/ jquery):

function loadPaletteColors() {
  for(i=0;i<$( ".paletteColorIndicator" ).length; i++) {
    $(".paletteColorIndicator:nth-of-type(" + String(i + 1) + ")").css("background-color", $(this).attr("data-color"));
  }
}

Why doesn't it set the background color of the element based on its data attribute?
(I feel like the answer is really obvious.)

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Why not just use CSS if you're doing an attribute anyways?

from elemental.

PullJosh avatar PullJosh commented on June 17, 2024

Eh... I suppose inline CSS could be tolerated...

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

ew no use a class

from elemental.

PullJosh avatar PullJosh commented on June 17, 2024

A different class for each color?

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

True, nvm
But inline CSS is better than using jQuery just to set inline css xD

from elemental.

PullJosh avatar PullJosh commented on June 17, 2024

lol I suppose

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

I only use inline css when Iโ€™m inspect-elementing a page, when Iโ€™m feeling lazy, or when Iโ€™m using wordpress or something


This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

So you'd rather use jQuery to set inline styles, making another ugly layer of uglyness? :P

from elemental.

PullJosh avatar PullJosh commented on June 17, 2024

No.

I just forgot to be intelligent.

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Stupid question:
How do I get a personal version of the sever on mah computer so I can fool around with how django works?

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

No clue yet if you're using Windows

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

If I have django with python 3.4, how do I use it?

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

@an-OK-squirrel use python 2.7 pls


This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

use python 2.7
also, fairly sure it's python manage.py runserver 0.0.0.0:port but I'm probably wrong since I haven't tested

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Why?

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

I hate py2 :/

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

Because itโ€™s better.

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

NEVA

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

yes

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

py2 is the best

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Do I need it for this? :P

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

you need to use 2.7 or else it won't work. Especially since init and I are the primary backend devs and we're using it :3

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

and that's what we're using so deal with it

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

kay den. D:

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

dang it ninja'd

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

HAHAA

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Okay, now that I use 2.7, whaddo I do?

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

screw this I'm turning off email notifications my inbox is pretty much full

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Hahaha :P

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

lol
also nobody push directly to dev if it deals with models.

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Ik :P

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

Kk

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

manage.py runserver [port]

refixed by init

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Okay!

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

I'm getting errors with those. :/

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Ohwait nvm

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

What modules do i need for this?

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

ImproperlyConfigured: 'django_postgrespool' isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
u'base', u'mysql', u'oracle', u'postgresql_psycopg2', u'sqlite3'
Error was: No module named django_postgrespool.base

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Go to the line in settings.py and comment out database['ENGINE'] = something_goes_here_but_i_can't_remember

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Thx!

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

DATABASES['default']['ENGINE'] = 'django_postgrespool'
this?

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Nope.

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

Python closed too fast, but it said "unkown something:"

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

@an-OK-squirrel
Yes
You need Django installed, and possibly everything else (pip install -r requirements.txt)

from elemental.

an-OK-squirrel avatar an-OK-squirrel commented on June 17, 2024

oh okay

from elemental.

quat1024 avatar quat1024 commented on June 17, 2024

Where's the UI folder? I can't find it in either the dev branch or master.

commit f61c485 seems to have removed the ui folder?

from elemental.

robinp7720 avatar robinp7720 commented on June 17, 2024

@quat1024 https://github.com/ElementalCode/Elemental/tree/dev/apps/projects/templates

from elemental.

quat1024 avatar quat1024 commented on June 17, 2024

Ok wow I'm dumb

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Think we can automatically let admins and moderators share projects?

from elemental.

BookOwl avatar BookOwl commented on June 17, 2024

Why not?

from elemental.

PullJosh avatar PullJosh commented on June 17, 2024

_BUT WHAT IF WE DON'T TRUST OURSELVES_

...

...

Yeah that'd be fine.

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

k working on it

from elemental.

BookOwl avatar BookOwl commented on June 17, 2024

I trust myself...most of the time anyway :P

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

uh oh
I'll have to ban you now

from elemental.

BookOwl avatar BookOwl commented on June 17, 2024

LOL... I hope...

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

Django admin IS SO MUCH BETTER THAN PHPMYADMIN

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

ikr
also firedrake, why do you have to specify an ip? I just put the port (I use 80 so I don't have to type the port number every time lol)

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

wait really?
cool
but now localhost:3000 is stuck in my browser's memory xD

from elemental.

TheInitializer avatar TheInitializer commented on June 17, 2024

Lol

from elemental.

matthewr6 avatar matthewr6 commented on June 17, 2024

also django 1.8 tests are really really fast

from elemental.

PullJosh avatar PullJosh commented on June 17, 2024

Hasn't been used in 29 days.

from elemental.

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.