Memcode
Flashcards for coders and scientists. Open-source, free for all.
Links
Website: memcode.com
Patreon: patreon.com/memcode
Email: contact@memcode.com
Twitter: twitter.com/memcodeapp
Alternative.to: alternativeto.net/software/memcode/about
Contributing
First of all - you are very welcome to contribute, Memcode is a joint effort.
Before contributing, it's a good idea to create a related issue.
Create a database postgres user with a password.
- Install PostgreSQL.
- Go to postgres console:
psql postgres
.
- Create a
postgres
user with password: CREATE ROLE postgres WITH LOGIN PASSWORD 'postgres';
.
- Give the user a permission to create dbs, own all extensions, etc.:
ALTER ROLE postgres with superuser;
.
Copypaste environment variables.
- Copy the example environment file with
cp env.example.js env.js
- Insert the necessary values - all those marked with "Required for local development"
Install the needed libraries.
- Install npm.
- Run
npm install
Set up the database.
- Create a new development database 'memcode':
make db-reset
.
This will create the raw database for you - schema and a few necessary database rows.
Start code compilers and server.
- Run
make all
in your terminal.
This will start:
make backend-webpack
(compiles the backend code on every change)
make frontend-webpack
(compiles the frontend code on every change)
make start
(starts the node server)
for you.
You can also run these separately if you wish to see the individual output.
- Go to http://localhost:3000, and enjoy the development!