kopia lustrzana https://git.sr.ht/~edwardloveall/scribe
561483cf9f
Right now this links to the user's medium page. It may link to an internal page in the future. Instead of the Page taking the author as a string, it now takes a PostResponse::Creator object. The Articles::ShowPage then converts the Creator (a name and user_id) to an author link. Finally, I did some refactoring of UserAnchor (which I thought I was going to use for this) to change it's userId attribute to user_id as is Crystal convention. |
||
---|---|---|
.github/workflows | ||
config | ||
db/migrations | ||
public | ||
script | ||
spec | ||
src | ||
tasks | ||
.crystal-version | ||
.editorconfig | ||
.gitignore | ||
.tool-versions | ||
LICENSE | ||
Procfile | ||
Procfile.dev | ||
README.md | ||
bs-config.js | ||
package.json | ||
shard.lock | ||
shard.yml | ||
tasks.cr | ||
webpack.mix.js | ||
yarn.lock |
README.md
scribe
This is a project written using Lucky. Enjoy!
Setting up the project
- Install required dependencies
- Update database settings in
config/database.cr
- Run
script/setup
- Run
lucky dev
to start the app
Learning Lucky
Lucky uses the Crystal programming language. You can learn about Lucky from the Lucky Guides.