• This repository has been archived on 28/Apr/2020
  • Stars
    star
    166
  • Rank 227,748 (Top 5 %)
  • Language
    Python
  • License
    BSD 2-Clause "Sim...
  • Created almost 14 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lastuser has been merged into Funnel. This repository is archived.

Lastuser

Lastuser has been merged into Funnel is no longer maintained a standalone app. This repository is archived. Historical notes follow:


Build status Coverage status

User management is a pain. Apps shouldn't have their own user management code if it can be centrally managed. Lastuser does it for HasGeek. This open source code release is intended to help you examine our code, work with our APIs, and lend a helping hand where needed.

Usage

Lastuser requires PostgreSQL and Python 2.7. A virtualenv is strongly recommended. Instructions:

$ git clone https://github.com/hasgeek/lastuser
$ cd lastuser
$ pip install -r requirements.txt
$ createdb lastuser
$ cp instance/settings-sample.py instance/development.py

Edit to customize instance/development.py as needed, then populate the database:

$ python manage.py createdb

You should now be able to run the development server, accessible at http://localhost:7000:

$ python runserver.py

To use Lastuser effectively, you will need to create an /etc/hosts entry pointing to localhost, for Lastuser and any client apps you may need:

127.0.0.1 lastuser.mymachine.local
127.0.0.1 clientapp.mymachine.local

Tests

Before you run the tests:

$ pip install -r test_requirements.txt
$ cp secrets.test.sample secrets.test

secrets.test contains API keys for various external services Lastuser works with. Note that Lastuser's functional tests are incomplete at this time.

Next, create a test database. Do not use your development database for this as the test database is wiped after each run of the test suite:

$ createdb lastuser_test_app

Run the tests from the root directory of the project:

$ ./runtests.sh

Support

Feel free to file a bug report for anything that doesn't work or is amiss in our code. We're available for a chat in #tech on friends.hasgeek.com.

More Repositories

1

hasjob

Hasjob, the Hasgeek job board
Python
237
star
2

coaster

Common patterns for Flask apps
Python
69
star
3

funnel

Website for hasgeek.com
Python
46
star
4

hacknight

HasGeek Hacknights
JavaScript
35
star
5

doctypehtml5

Website source for doctypehtml5.in
HTML
19
star
6

events

Hasgeek's legacy event database
CSS
19
star
7

flask-lastuser

Flask extension for Lastuser
Python
17
star
8

hasgeek.tv

Hasgeek TV
Python
16
star
9

eventframe

Eventframe
Python
16
star
10

baseframe

Baseframe for Hasgeek projects
JavaScript
11
star
11

pennywise

Web-based double-entry accounting
Python
11
star
12

boxoffice

Ticketing
JavaScript
10
star
13

50p-handbook

The 50p Handbook with GitBooks
8
star
14

jsfoo

JSFoo 2012-2016 websites
JavaScript
7
star
15

kharcha

Expense tracker
Python
6
star
16

internship-test-android

Android test for HasGeek's internship.
Java
6
star
17

public-lists

6
star
18

flask-commentease

Comments and voting as a Flask extension
Python
6
star
19

hasweb

HasGeek's website (obsolete; see hasgeek/funnel for current website)
HTML
5
star
20

peopleflow

Peopleflow tracks participation and attendance at HasGeek events.
Python
5
star
21

hgapp

Hasgeek App Boilerplate
Python
5
star
22

jsfoo-edition-1

Website for jsfoo.in
CSS
5
star
23

geekup

Geekup.in source code
JavaScript
4
star
24

metarefresh

Meta Refresh website
HTML
4
star
25

fifthelephant

The Fifth Elephant
JavaScript
4
star
26

github-hook

GitHub commit hook using Flask and Python
Python
4
star
27

droidcon

Droidcon India
HTML
4
star
28

confrouter

Conference Router Project
Shell
3
star
29

rootconf

Rootconf Website
CSS
3
star
30

androidcamp

Website for androidcamp.in
Ruby
3
star
31

android

HasGeek's android app.
Java
3
star
32

hascore

Hasgeek legacy geonames API
Python
3
star
33

zalebi

HasGeek on the go
Java
2
star
34

hasnew

HasGeek News
Python
2
star
35

hasgeek.github.com

HasGeek Code page
HTML
2
star
36

paystation

PayStation
JavaScript
2
star
37

serverdown

Standby page for server downtime
HTML
2
star
38

hasjob-kiosk-app

A PoC for ChromeOS Kiosk App
JavaScript
1
star
39

hasdev

HasGeek development environment and project management
Python
1
star
40

internship-test-python-flask

Python+Flask test for HasGeek's internship
HTML
1
star
41

contactpoint

ContactPoint
Python
1
star
42

billgate

HasGeek Billing Gateway
Python
1
star
43

phpcloud

Website for Scaling PHP in the Cloud
CSS
1
star
44

dukaan

HasGeek Shop
Python
1
star
45

clonedoattend

Clone events on DoAttend and update event name and dates
Python
1
star
46

outreach

HasGeek Outreach
Python
1
star
47

nodular

Reusable content objects for HasGeek apps
Python
1
star
48

cartonama2012

Cartonama
JavaScript
1
star
49

kulfi

New HasGeek Android App, replacing Zalebi
Java
1
star
50

av-doc

Documentation for AV at HasGeek events
HTML
1
star