iam-concepts / documentation

On line docs for all samples in the https://github.com/iam-concepts/ organization space
MIT License
0 stars 0 forks source link

Tools used in this project #1

Open adriatic opened 4 years ago

adriatic commented 4 years ago
  1. Starting and stopping MongoDB on Tahoe (localhost)

    c:\mongodb\bin
    λ net start mongodb
    The MongoDB Server (MongoDB) service is starting.
    The MongoDB Server (MongoDB) service was started successfully.

    c:\mongodb\bin
    λ net stop mongodb
    The MongoDB Server (MongoDB) service is stoping.
    The MongoDB Server (MongoDB) service was stopped successfully.
  2. creating the sample BUILDING A WEBSITE WITH GATSBY AND STRAPI CMS

Creating dbOwner for the strapi-gatsby database in c:\work\learning\gatsby-strapy

> use strapy-gatsby
switched to db strapy-gatsby
> db.createUser({ user: "gatsby", roles: [{ "role": "dbOwner", "db": "strapi-gatsby" }], pwd: "Bellingham" })
Successfully added user: {
        "user" : "gatsby",
        "roles" : [
                {
                        "role" : "dbOwner",
                        "db" : "strapi-gatsby"
                }
        ]
}
>

Creating the strapi app and set strapi-gatsby to be used as the authentication database

λ npx create-strapi-app@latest strapi
npx: installed 91 in 10.807s
Creating a new Strapi application at c:\work\learning\strapi-gatsby\strapi.

? Choose your installation type
? Choose your installation type Custom (manual settings)
? Choose your default database client
? Choose your default database client mongo
? Database name: strapi-gatsby
? Database name: strapi-gatsby
? Host: (127.0.0.1)
? Host: 127.0.0.1
? +srv connection: (false)
? +srv connection: false
? Port (It will be ignored if you enable +srv): (27017)
? Port (It will be ignored if you enable +srv): 27017
? Username: gatsby
? Username: gatsby
? Password: **********
? Password: **********
? Authentication database (Maybe "admin" or blank): strapi-gatsby
? Authentication database (Maybe "admin" or blank): strapi-gatsby
? Enable SSL connection: (y/N) N
? Enable SSL connection: No
(node:16516) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.

Creating a project with custom database options.
Creating files.
Dependencies installed successfully.

Your application was created at c:\work\learning\strapi-gatsby\strapi.

Available commands in your project:

  yarn develop
  Start Strapi in watch mode.

  yarn start
  Start Strapi without watch mode.

  yarn build
  Build Strapi admin panel.

  yarn strapi
  Display all available commands.

You can start by doing:

  cd c:\work\learning\strapi-gatsby\strapi
  yarn develop

Created Admin prompt

image

adriatic commented 4 years ago

Strapi Access Proxy

Project started by sorinGFS

adriatic commented 4 years ago

1. Tutorials / Guides

MongoDB crash course (by Traversy Media): https://www.youtube.com/watch?v=-56x56UppqQ

adriatic commented 4 years ago

space saver

adriatic commented 4 years ago

space saver

adriatic commented 4 years ago

space saver