Code Monkey home page Code Monkey logo

episerver / foundation Goto Github PK

View Code? Open in Web Editor NEW
131.0 29.0 135.0 463.95 MB

Foundation offers a starting point that is intuitive, well-structured and modular allowing developers to explore CMS, Commerce, Personalization, Search and Navigation, Data Platform and Experimentation.

Home Page: https://docs.developers.optimizely.com/digital-experience-platform/docs/optimizely-foundation-demo-sites

License: Apache License 2.0

Batchfile 0.23% C# 61.41% JavaScript 9.64% CSS 0.24% HTML 24.42% TSQL 0.16% ASP.NET 0.03% SCSS 3.78% Shell 0.09%
episerver

foundation's Introduction

Foundation

Latest version

This version is built for net6.0. For the legacy full framework version please use the full-framework/master

Foundation

Foundation offers a starting point that is intuitive, well-structured and modular allowing developers to explore CMS, Commerce, Personalization, Search amd Navigaion, Data Platform and Experimentation.


Prerequisites

You will need these to run locally on your machine.

Net 6 sdk is required to use with visual studio. Runtime maybe sufficent to just run the application.

Node JS

Mac/Linux

Docker

Windows

Sql Server


The Solution

Foundation has a default username and password of [email protected] / Episerver123!


Installation

Windows

open command prompt as administrator
git clone https://github.com/episerver/Foundation.git
cd foundation
setup.cmd 
dotnet run --project .\src\Foundation\Foundation.csproj

Mac

Open a Terminal window
git clone https://github.com/episerver/Foundation.git
cd Foundation
chmod u+x setup.sh
./setup.sh
dotnet run --project ./src/Foundation/Foundation.csproj

Linux

Open a bash terminal window
git clone https://github.com/episerver/Foundation.git
cd Foundation
chmod u+x setup.sh
./setup.sh
dotnet run --project ./src/Foundation/Foundation.csproj

View the site

After completing the setup steps and running the solution, access the site at http://localhost:5000.

To change the default port, modify the file /src/Foundation/Properties/launchSettings.json.


foundation's People

Contributors

balanikas avatar calinl avatar cuong-epi avatar daniel-isaacs avatar danieljoneil32 avatar davidbuo avatar davidknipe avatar dinhhiep86 avatar javedmshaikh avatar kbalanikas avatar lunchin avatar magaronov avatar ngocnguyen-epi avatar patrikoptimizely avatar paulgruffyddamaze avatar qtxasjo avatar quantran-epi avatar quocanhnguyen402 avatar remkoj avatar ruiraywang avatar shannongrayepiserver avatar shgreig-mtm avatar tanvu-epi avatar telleluy avatar thanhduc-nguyen avatar tomahg avatar trungdo-epi avatar valdisiljuconoks avatar vandermerwed avatar wterpstra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foundation's Issues

Counpon and payment work incorrectly

When apply discount coupon after applying payment method, the payment amount will be different order amount => can not place order because of "Wrong amount" Exception.

Prevent redirect to AddCouponCode page when input coupon code then press Enter

Validate Foundation.Commerce nuget package

Make sure package Foundation.Commerce created by Pack.Cmd installs and work correctly for a new created visual studio extension site with episerver.commerce installed.

Search Error on auto complete

Compiler Error Message: CS1061: 'Foundation.Demo.ViewModels.DemoSearchViewModel<Foundation.Cms.Pages.SearchPage>' does not contain a definition for 'UnifiedSearchResults' and no extension method 'UnifiedSearchResults' accepting a first argument of type 'Foundation.Demo.ViewModels.DemoSearchViewModel<Foundation.Cms.Pages.SearchPage>' could be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 4: }
Line 5:
Line 6: @if (Model != null && Model.UnifiedSearchResults != null)
Line 7: {
Line 8:

    Source File: f:\Workspaces\epidemo\src\Foundation\Features\Search_QuickSearchContent.cshtml Line: 6

Recent Page Category Recommendations Block Enhancements

This requires #32 to be completed first.
The view is missing
Update to work with Geta Categories instead of built in categories.
Change Inspiration Folder name to FilterRoot
Create new property named FilterTypes that is Multi List Selection with a selection factory that pulls all PageTypes with availableineditmode=true

Update the recommendations to filter by FilterRoot and PageTypes. If no filters are selected show from SiteRoot and all PageData

Add Geta Categories

Geta Categories with Views on the categories that will render content within the category + a content area. Also make sure the listing block works with Geta Categories as a Filter.

Validate Foundation.Find.Cms nuget package

Make sure package Foundation.Find.Cms created by Pack.Cmd installs and work correctly for a new created visual studio extension site with just episerver.cms installed.

Seperate build.cmd to two seperate cmd files

setup.cmd

Sets up everything needed to start working on the project. Should only be needed to run once, although switching between branches where the database or other files change enough that a new setup is needed.

Common tasks:

Install node modules (with npm or yarn)
Copy/setup a fresh database
Create folders

build.cmd

Builds everything needed to run tests, create a release (packaging), or running the site/application.

Common tasks:

Set build configuration (can take it as a parameter. Should default to debug locally and release in CI)
Lint JavaScript files (this is the closest regular JavaScript has to compiling and checking for common mistakes)
Build JavaScript frameworks, like dojo
Build static template files

Not validate order amount at checkout

  1. Go to sample ste
  2. Place any order with payment amount < order amount
  3. Process to checkout
    --> Expected: inform user to input enough amount
    --> Actual: Allow to continue checkout with Exception details: InvalidOperationException: Wrong amount

Not save address when register new account

  1. Click person icon at the top right
  2. Select Sign up
  3. Input all information to create an account
  4. Go to Address book of new created account
    --> Expected: The information is provided in sign up form should be added as a customer address
    --> Actual: No address in address book

Validate Foundation.Cms nuget package

Make sure package Foundation.Cms created by Pack.Cmd installs and work correctly for a new created visual studio extension site with just episerver.cms installed.

Create custom scope interceptor

Create a custom data interceptor in Foundation.Demo to add the scope for tracking. Add a property to DemoStartPage for the scope, have the interceptor use that value if it set. If it is null set the scope to Foundation

Menu Item Block error

When setting up a Menu Item Block the Main item image, Button text and Button link properties are optional. However even if they are not entered they are shown in the menu:

Validate Foundation.Campaign nuget package

Make sure package Foundation.Campaign created by Pack.Cmd installs and work correctly for a new created visual studio extension site with just episerver.cms installed. Right now I think the nuspec is missing a dependency to the connectforampaign connector

New arrival and Sale Page Enhancements

Please add the following properties to both page types.

  • Manual Inclusion - IList Allowed Types -CatalogContentBase
  • Manual Exclusion - IList Allowed Types -CatalogContentBase
  • Manual Inclusion Ordering - Single Select with Selection factory for Beginning, End, and Random
  • Allow Paging
  • Page Size

When performing the search make sure exclude the content from Manual Exclusion
Add the manual inclusion products based on the Manual Inclusion Ordering

Make sure page size and allow paging new properties are respected

Can not create the subscription for the cart when checkout

  1. Add item to cart then go to checkout page
  2. In subscription step of checkout page, input all information then select or non select "create subscription of cart
  3. Place an order
    --> Expected: Create subscription/payment plan for that cart
    --> Actual: Nothing happen

Update properties editor/render

  • Update Textarea and Tinymce boxes size
  • Move Episerver's standard Category property to the Header area
  • Update Blog properties render

Gulp error while building

Received Gulp install error by running simple build.cmd command. Not sure if that affects anything.

...
## Gulp Install ##
C:\Users\valdis\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129
    gulpInst.start.apply(gulpInst, toRun);
                   ^

TypeError: Cannot read property 'apply' of undefined
    at C:\Users\valdis\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129:20
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
...

Validate Foundation.Social nuget package

Make sure package Foundation.Social created by Pack.Cmd installs and work correctly for a new created visual studio extension site with just episerver.cms installed.

Change quantity incorrectly, Subscription Detail duplicate order list

Product Detail

  1. View any product detail
  2. Use increase button to update the qty >1, click outside
  3. Add item to cart
    --> Expected: Can add the item to cart with qty in step 2
    --> Actual: Only add 1 item to cart. If user input the qty manually in dropdown, it's correct after adding to cart

Subscription Detail

  1. Go to order history
  2. Click Subscrition
    --> Expected: Create 1 subscription for order
    -> Actual: Create 1 subscription for order but display duplicate information in subscription detail

Update Tab and Property Names

Howdy,

I have carefully reviewed and tested all page types in Foundation. Based on my editorial user experience and existing conventions (built-in properties and their naming), I have put together a suggestion for:
Tabs in page types
Which properties should be in which tabs
What should be the names of each property
What should be the order of appearance of each property

The Notepad file is attached.
Tabs and Properties.txt

Re-order does not work

  1. Go to sample site
  2. Place any order
  3. Go to Orders under My Account
  4. Click Re-Order at any order
    --> Expected: Can add all line item of selected order to cart
    --> Actual: Exception details: HttpException: The controller for path '/Cart/Reorder' was not found or does not implement IController.

Change build.cmd to create a rebuild.cmd on build

Was considering changing build.cmd to create a rebuild.cmd at the end of the build process. This would re-run build.cmd with the parameters pre-populated so would tear down the DB and redeploy the site. Looking for some thoughts on whether this would be a good idea. @lunchin or @valdisiljuconoks ?

The update at the end of build.cmd looks like this:

echo @echo off > rebuild.cmd
echo cls >> rebuild.cmd
echo echo ###################################################################### >> rebuild.cmd
echo echo #           Rebuid the current application from default              # >> rebuild.cmd
echo echo ###################################################################### >> rebuild.cmd
echo echo #                                                                    # >> rebuild.cmd
echo echo #       NOTE: This will **DROP** the existing DB                     # >> rebuild.cmd
echo echo #             and rebuild so use with caution!!                      # >> rebuild.cmd
echo echo #                                                                    # >> rebuild.cmd
echo echo #       Crtl+C NOW if you are unsure!                                # >> rebuild.cmd
echo echo #                                                                    # >> rebuild.cmd
echo echo ###################################################################### >> rebuild.cmd
echo pause >> rebuild.cmd
echo build %APPNAME% %FOUNDATIONDOMAIN% %CMDOMAIN% %LICENSEPATH% %SQLSERVER% %ADDITIONAL_SQLCMD% >> rebuild.cmd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.