Skip to content
Source code for a platform to connect mentors with students
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
scripts
server
src
tests
.buildpacks
.eslintrc.js
.flowconfig
.gitignore
.netlify
CITATION.md
LICENSE
Pipfile
Pipfile.lock
Procfile
README.md
app.json
package.json
pytest.ini
yarn.lock

README.md

HMS Weave project (working title)

Requirements

  • Python 3.6.8
  • Node 10.15.3
  • Postgresql 11.1
  • pipenv
  • yarn

Installation

# install frontend
$ yarn
# install backend
$ pipenv install

Create the database

Note that this drops your local database to start from a clean state.

# You can call your database however you'd like; I use hms
$ createdb hms
$ export DATABASE_URL='postgres:///hms'
$ pipenv run python scripts/resetdb.py

Run the app

# run backend
$ pipenv run start
# in another shell, start frontend with:
$ npm start

Accessing the app locally

# open the frontend in your browser
$ open http://localhost:3000
# how to open the local admin (note that the backend serves the admin as html, rather than the frontend serving it)
$ open http://localhost:5000/admin
You can’t perform that action at this time.