Comments (95)
First off, who has access to the heroku account?
from elemental.
Me, and it's a personal account.
from elemental.
Okay!!
from elemental.
NO offense, but why personal?
from elemental.
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.
Ah, okay! :D
from elemental.
Make different issues for each question, so it's cleaner.
from elemental.
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.
Okay!
from elemental.
We should keep issues for planning and bugs. Not questions. That's why I made this :P
from elemental.
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.
Yep!
from elemental.
So this is more like a chat channel? :P
from elemental.
It is now :P
OH Firedrake pls add TheInitializer to the Programmers group
from elemental.
Ok, what'll he be doing?
from elemental.
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.
Ok
@TheInitializer
Just don't push anything direclty to the dev/staging/master branch - pull request first.
from elemental.
Everyone's accounts are deleted due to some issues - please note this may occur frequently.
from elemental.
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.
I'm a github n00b, sorry. How do I make a pull request?
from elemental.
To make pull request:
- Create branch and push your code
- Visit the branch's home page
- 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.
- Don't accept your own request, even if you can - have someone else review your code first.
from elemental.
@TheInitializer
Do you know how to set up a Django app and run migrate
/makemigrations
on Windows?
from elemental.
@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.
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.
Ok then I can do that
from elemental.
yeah, how? detailed instructions please?
from elemental.
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.
What pip packages do you have to have installed?
(or just pip freeze and post it here)
from elemental.
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.
fyi the command isn't migrate /makemigrations
, migrate and makemigrations are two separate commands.
and sure I'll try it
from elemental.
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.
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.
Ok, keep me updated please :)
(can't test for myself atm)
from elemental.
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.
Why not just use CSS if you're doing an attribute anyways?
from elemental.
Eh... I suppose inline CSS could be tolerated...
from elemental.
ew no use a class
from elemental.
A different class for each color?
from elemental.
True, nvm
But inline CSS is better than using jQuery just to set inline css xD
from elemental.
lol I suppose
from elemental.
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.
So you'd rather use jQuery to set inline styles, making another ugly layer of uglyness? :P
from elemental.
No.
I just forgot to be intelligent.
from elemental.
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.
No clue yet if you're using Windows
from elemental.
If I have django with python 3.4, how do I use it?
from elemental.
@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.
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.
Why?
from elemental.
I hate py2 :/
from elemental.
Because itโs better.
from elemental.
NEVA
from elemental.
yes
from elemental.
py2 is the best
from elemental.
Do I need it for this? :P
from elemental.
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.
and that's what we're using so deal with it
from elemental.
kay den. D:
from elemental.
dang it ninja'd
from elemental.
HAHAA
from elemental.
Okay, now that I use 2.7, whaddo I do?
from elemental.
screw this I'm turning off email notifications my inbox is pretty much full
from elemental.
Hahaha :P
from elemental.
lol
also nobody push directly to dev if it deals with models.
from elemental.
Ik :P
from elemental.
Kk
from elemental.
manage.py runserver [port]
refixed by init
from elemental.
Okay!
from elemental.
I'm getting errors with those. :/
from elemental.
Ohwait nvm
from elemental.
What modules do i need for this?
from elemental.
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.
Go to the line in settings.py and comment out database['ENGINE'] = something_goes_here_but_i_can't_remember
from elemental.
Thx!
from elemental.
DATABASES['default']['ENGINE'] = 'django_postgrespool'
this?
from elemental.
Nope.
from elemental.
Python closed too fast, but it said "unkown something:"
from elemental.
@an-OK-squirrel
Yes
You need Django installed, and possibly everything else (pip install -r requirements.txt)
from elemental.
oh okay
from elemental.
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.
@quat1024 https://github.com/ElementalCode/Elemental/tree/dev/apps/projects/templates
from elemental.
Ok wow I'm dumb
from elemental.
Think we can automatically let admins and moderators share projects?
from elemental.
Why not?
from elemental.
_BUT WHAT IF WE DON'T TRUST OURSELVES_
...
...
Yeah that'd be fine.
from elemental.
k working on it
from elemental.
I trust myself...most of the time anyway :P
from elemental.
uh oh
I'll have to ban you now
from elemental.
LOL... I hope...
from elemental.
Django admin IS SO MUCH BETTER THAN PHPMYADMIN
from elemental.
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.
wait really?
cool
but now localhost:3000 is stuck in my browser's memory xD
from elemental.
Lol
from elemental.
also django 1.8 tests are really really fast
from elemental.
Hasn't been used in 29 days.
from elemental.
Related Issues (20)
- intuitive-trash branch name is misleading HOT 2
- Website is Ugly HOT 160
- (Not a Real Issue) Possible way to join? HOT 8
- Editor Text Block HOT 44
- This project is getting inactive HOT 12
- Featured projects system
- Dragging blocks highlights text HOT 1
- The blocks area should initialize to the "text" pallete HOT 1
- Pasting Text HOT 16
- issues with input cleansing
- you can STILL add other attributes, eg style, using inspect element HOT 13
- Mention quicktext button in tutorial? HOT 6
- Rework Blocks Code HOT 38
- No scrolling for scripting area in Elemental HOT 8
- Tutorial broken even without scrolling HOT 6
- [mockup] block and element highlighting HOT 8
- Search-bar behind blocks HOT 3
- Dropping block while cursor is above another block doesn't hide trashcan in palette
- Dropping block in palette only works when directly over trashcan โ bad? HOT 4
- Make it clear that "Open" is for project files, add HTML import feature HOT 3
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 elemental.