https://github.com/originphp/bookmarks
Bookmarks demo application
https://github.com/originphp/bookmarks
Last synced: 3 months ago
JSON representation
Bookmarks demo application
- Host: GitHub
- URL: https://github.com/originphp/bookmarks
- Owner: originphp
- Created: 2019-05-08T15:21:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-11T10:46:12.000Z (over 4 years ago)
- Last Synced: 2025-09-20T22:25:29.027Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 138 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bookmarks Demo Application
This is the OriginPHP demo application
Make sure your database is configured.
If you are using Docker, start the container, if its not already started.
```linux
$ docker-compose up
```
Then connect to the container
```linux
$ docker-compose run app bash
```
## Creating the database using schema
Create and seed the database
```linux
$ bin/console db:setup
```
## Creating the database using migrations
This app also contains the migration version of the database setup to demonstrate the functionality.
First create the db
```linux
$ bin/console db:create
```
Load the schema for migrations
```linux
$ bin/console db:load:schema migrations
```
Run the migrations
```linux
$ bin/console db:migrate
```
Seed the database
```linux
$ bin/console db:seed
```
## Install Dependencies
This is used by one of the console commands.
```linux
$ composer require originphp/yaml
```
## Access
You can go to http://localhost:8000/bookmarks and use the username `demo@example.com` with the password `origin` to login.