https://github.com/NewSpaceNYC/starseed.git https://git.io/vw9NG
A project that aims to be a whitelabeled assmebly.com (for all types of projects that can effectively leverage bounties) no lock in... etc... check this document for high level outline: http://goo.gl/WTH2tm
You may also want to follow the Django tutorial to create your first application: https://docs.djangoproject.com/en/dev/intro/tutorial01/
Also see:
Join the NewSpace NYC #starseed channel on Slack.
- livecoding_stream :) (probably anyways to make it open and as a Google Hangouts addon)
- machine learning, all the things
- for our version of live coding we can have a mobile app... can have bluetooth...
- have a virtual office in a minecraft world and spawn up VMs with computer blocks and collaborate
- in an embedded cloud9 - and then visualize the code with minecraft blocks - errors can be volcanoes -
- http://voxeljs.com/ live-coding virtual-offices (in node)
Issues for Starseed should be submitted to https://github.com/NewSpaceNYC/Starseed/issues
Any security issues should be submitted directly to all@newspace.nyc
- Explain what you expected to happen vs the actual results
- Include a screenshot if it helps illustrate the issue. https://github.com/blog/1347-issue-attachments
- What steps are required to reproduce the issue
- An example build that shows the issue
See testing and setup notes in the base README
###Code Conributors
|
Mike (@mikeumus) |
Sadia (@uniaquinas) |
| :---------------------------------: |:------------------------------------------:| :-------------------------------------:|
|
Marc (@mashcode) |
Michael (@maeldun-x) |
Yusuf (@iunary) |
Error Notes
'No module named whitenoise.django'
http://stackoverflow.com/questions/31082884/why-is-whitenoise-crashing-in-a-default-django-project-on-heroku- https://devcenter.heroku.com/articles/django-assets
Roadmap:
From Google Doc Brainstorm: http://goo.gl/WTH2tm
- companies that can opt-in to the monthly milestone prize via equity or cash buy-in.
- So for example, companies that haven’t reached a milestone of 10k in sales can opt-in for the 10k milestone leaderboard prize for that month and every month until they make that milestone.
- equity can be sold, traded
- for example, let’s say a company wants to sell some of it’s shares, it does so on the platform either by selling unvested shares or making a board-member decision to dilute shares and sell them. this way you could also offer a kickstarter and/or Gust type fundraising campaign where people can contribute to the project simply with their money contribution(s).
- equity for ideamen
- Submit ideas to Starseed and let the community manage it's development
- No equity down
- Use the platform for free, no commitments, insert cash or equity per bounty as needed. We act as the trusty escrow to your bounty hunters.
- I read a quote on the site saying it was like a on-going hackathon.
- Hackathons are plagued with the problem of producing ground-breaking prototypes, often with poor or no follow up.
- With a siloed/hosted/white-labeled offering, hackathons could achieve decentralized greatness:
- During Hackathons:
- Mentors (and anyone really, both onsite & remote) could get rewarded for helping with features/bugs.
- Extra points for the mentors if it’s the registered/onsite hacker/team-member doing the typing of the code (audited via Cloud9 for example to see who’s account is doing the typing)
- Lean-a-thons... Earn-a-thons?!?!
- Go to a learning hackathon and hack on real world coding problems with professional coders in a pair-programming style.
- Split the points 1 to 3 from students to mentors.
- This could be for any teaching class potentially (at certain levels of designated difficulty). No need to just be in a hackathon.
- White Label,
- cause @codedoc said so, and it is a good idea.
- Open-Source, like down to what kind of toilet paper we use...
- this is a given.
- set a cash value for bounties and just deposit the moolah into our escrow so people have the trusties.
- mix and match, let users decided if they just want the cash or if they also want some equity, or just equity.
- Whenever people have a choice, they feel more comfortable. It’s real science somewhere, look it up.
- We want to live-code all the things so,
- If two or more people are working on a bounty, they can, and at Starseed.com it shows in real-time who's working on which bounty
- We then give contributors a UI to democratically self-divvy up the loot
Run processes in the background on startup in Cloud 9:
Postgres in Cloud 9:
- http://stackoverflow.com/questions/28177912/postgres-database-setup-on-cloud9-asks-for-sudo-password
- http://stackoverflow.com/questions/11919391/postgresql-error-fatal-role-username-does-not-exist
$ sudo -u postgres -i
orsudo sudo -u postgres psql
<-- use this one in C9$ sudo -s
thensudo -u postgres psql
orsudo su - postgres
$ createuser -d -P -s starseed
$ createdb -O starseed starseeddb
- Run Postgres Server
$ sudo service postgresql start
- Set Postgres User
pg_hba.conf
: http://stackoverflow.com/a/18664239/1762493 - Log into db
psql -Ustarseed -dstarseeddb -W
Marc's Cloud 9 recipe:
- In the c9 Project screen select Django template
- Clone from Git copy/paste
https://github.com/NewSpaceNYC/starseed.git
- Create workspace
- In the workspace click Open to launch the project into a new window
sudo pip install -r requirements.txt
$ sudo -s
thensudo -u postgres psql
orsudo su - postgres
$ createuser -d -P -s starseed
- Enter password
$ createdb -O starseed starseeddb
\q
- Run Postgres Server (see above)
PSQL Commands
DROP DATABASE [ IF EXISTS ] name
http://www.postgresql.org/docs/8.2/static/sql-dropdatabase.htmlALTER DATABASE one RENAME TO "one-two";
http://stackoverflow.com/a/3942826/1762493\l
list databases\du
list users\q
quit PSQL
Install psycopg2 for postgres
- http://stackoverflow.com/a/5450183
$ sudo apt-get install libpq-dev python-dev
$ sudo pip install psycopg2
http://stackoverflow.com/questions/14391804/e-unable-to-find-a-source-package-for-psycopg2-or-use-pip-with-virtualenv?answertab=votes#tab-top
Using chromedriver Using PhantomJS in AWS
Django Notes
- Django AllAuth http://django-allauth.readthedocs.org/en/latest/
sudo service postgresql start|stop|restart
C9 Notes
- Running Django in C9
sudo service postgresql start|stop|restart
$ ./manage.py runserver $IP:$PORT
AWS Notes
- Running Django in AWS:
$ ./manage.py runserver 0.0.0.0
- Resizing AWS EC2 Instance: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
Gunicorn
- Restarting Unicorn
$ sudo service gunicorn restart
$ kill -HUP masterpid
# http://gunicorn-docs.readthedocs.org/en/latest/faq.html#how-do-i-reload-my-application-in-gunicorn- Finding the masterpid:
$ pstree -ap|grep gunicorn
# http://stackoverflow.com/a/26926130