Skip to content

learning management system for real python

Notifications You must be signed in to change notification settings

stjordanis/members

 
 

Repository files navigation

Members

Just a simple learning management system for textbook-like sites, powering Real Python.

Build Status Coverage Status bitHound Overall Score Code Climate dependencies Status devDependencies Status

  1. Staging Server

Getting Started

  1. Fork/Clone
  2. Install dependencies
  3. Rename .env-sample to .env and then update
  4. 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
  2. Run tests: gulp test
  3. Run tests with coverage: gulp coverage
  4. 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!
  2. Updates (development and testing only):
  • admin status: curl -X PUT -d admin=true http://localhost:3000/users/<USERNAME>/admin
  • active status: curl -X PUT -d active=true http://localhost:3000/users/<USERNAME>/active
  1. Make sure to update the fixtures (/test/fixtures/data.js) whenever the DB schema is updated
  2. User auth flow -> unregistered -> unverified -> active

Development Notes

  1. Tasks
  2. User stories

About

learning management system for real python

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.5%
  • HTML 12.8%
  • CSS 0.7%