https://github.com/realpython/members
learning management system for real python
https://github.com/realpython/members
Last synced: 7 months ago
JSON representation
learning management system for real python
- Host: GitHub
- URL: https://github.com/realpython/members
- Owner: realpython
- Created: 2016-08-17T06:45:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-08T15:36:56.000Z (almost 9 years ago)
- Last Synced: 2025-05-07T21:04:17.138Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 514 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Members
Just a simple learning management system for textbook-like sites, powering Real Python.
[](https://travis-ci.org/realpython/members)
[](https://coveralls.io/github/realpython/members?branch=master)
[](https://www.bithound.io/github/realpython/members)
[](https://codeclimate.com/github/realpython/members)
[](https://david-dm.org/realpython/members)
[](https://david-dm.org/realpython/members?type=dev)
1. [Staging Server](https://fast-mesa-25213.herokuapp.com/)
## Getting Started
1. Fork/Clone
1. Install dependencies
1. Rename *.env-sample* to *.env* and then update
1. Create the development and test Postgres DBs:
- `createdb members`
- `createdb members_test`
1. Run development migrations:
- `knex migrate:latest --env development`
1. Run seed:
- `knex seed:run --env development`
1. Run server
- `gulp`
## Commands
1. Run dev server: `gulp`
1. Run tests: `gulp test`
1. Run tests with coverage: `gulp coverage`
1. Create build: `gulp build`
> Run `gulp help` to list all available commands
## Notes
https://github.com/jbutko/ExpressJS-Socket.IO-AngularJS-Boilerplate
1. Make sure to drop the database before running the seed!
1. Updates (`development` and `testing` only):
- admin status: `curl -X PUT -d admin=true http://localhost:3000/users//admin`
- active status: `curl -X PUT -d active=true http://localhost:3000/users//active`
1. Make sure to update the fixtures (*/test/fixtures/data.js*) whenever the DB schema is updated
1. User auth flow -> unregistered -> unverified -> active
## Development Notes
1. [Tasks](./tasks.md)
1. [User stories](./stories.md)