Environment Setupįill out the configuration JSON file here that matches your targeted environment mode (development or production).įor the production mode you can set up the below environment variables and will pick up. If you would like run the sample w/o setting up MongoDB, see how to run the Extension Gallery as the backend in tips and tricks section later. Once you are done, be sure to specify the connection string or in the configuration JSON file or as environment variables - see instructions in the next section for details. Make sure your database collections look like below: Note: if you use MongoDB Compass to import the data you will need to minify the JSON objects into one lines otherwise the tool wouldn't be able to parse the JSON objects correctly See here and here for instructions to import data. Import the four data collections using the JSON files here to your database, we recommend to use MongoDB Compass or Studio3T as client tools for this task. Install MongoDB, start an instance locally and create a database - we recommend to follow the tutorial here for detailed instructions.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |