Flashcards: for coders, mathematicians, and scientists. Open-source, free for all.
Made with love 💘
Site ❤️: www.memcode.com
Patreon: www.patreon.com/memcode
Email: contact@memcode.com
Twitter: https://twitter.com/memcodeapp
Alternative.to: https://alternativeto.net/software/memcode/about
Slack: please write to contact@memcode.com to request access
Note: if you'd like to use online development environment, see https://github.com/lakesare/memcode/blob/master/Gitpod.md. Steps below are for local setup.
- Install PostgreSQL.
- Go to postgres console:
psql postgres
. - Create a
postgres
user with password:CREATE ROLE postgres WITH LOGIN PASSWORD postgres;
. - Give them a permission to create dbs, own all extensions etc.:
ALTER ROLE postgres with superuser;
.
- Ask someone for
env.js
file, put it in the root folder (next to package.json). Inside ofenv.js
, change DB_USER and DB_PASSWORD to relevant values (your postgres's user and password).
- Install npm.
- Create a new development database 'memcode':
make db-reset
.
- Run
npm install
. - Run
make backend-webpack
,make frontend-webpack
,make start
. If you are on windows - you can use equivalent npm commands.
Optionally: populate database (please request access to heroku from the owner if you truly need access to production database for some reason).
- Install heroku cli.
heroku login
.- Make sure heroku knows about our app:
heroku git:remote -a memcode
. - Pull courses from the database with
make heroku-db-pull
.