Skip to content

To create a single page website or subdomain, with all accessibility and equipment, for an aseqbase website...

License

Notifications You must be signed in to change notification settings

aseqbase/single

Repository files navigation

Single-Page Application (Project)

aseqbase/single

To create a Single Page website or subdomain, with all accessibility and equipment, for an aseqbase website... A web application that dynamically rewrites the current page with new data, rather than loading entire new pages from a server.

Dependencies

Managements

Installing

  1. Install all dependencies mentioned before
  2. Follow one of these options:
    • Open a terminal in the destination directory (for example, D:\MyWebsite\single\) of the website, then install the project by:
       > composer create-project aseqbase/single
    • Prompts below to create a manageable project (update, uninstall, etc.):
       > composer require aseqbase/single
       > cd vendor/aseqbase/single
       vendor/aseqbase/single> composer dev:install
  3. Put the destination directory of your project on the appeared step (for example, D:\MyWebsite\single\)
      Destination Directory [D:\MyWebsite\]: D:\MyWebsite\single\
  4. Follow the steps to finish the installation of sources, database, etc.
  5. [optional] On the local server, create an optional file named global.php in the single directory to change your-parent-directory-name (from the .aseq) using:
      > composer single:create global --aseq "single" --base "your-parent-directory-name" -f
    or
      > cd vendor/aseqbase/single
      vendor/aseqbase/single> composer dev:create global --aseq "single" --base "your-parent-directory-name" -f
    Note: Do not forget to replace "your-parent-directory-name" with your item (default .aseq).
  6. Enjoy...

Using

  1. Do one of the following options:
    • Visit its special URL (for example, http://single.[my-domain-name].com, or http://[my-domain-name].com/single)
    • On the local server:
      1. Use the following command on the root directory
        > composer start
      2. Visit the URL localhost:8000 (for default) on the local browser
  2. Enjoy...

Updating

  1. Keep your project updated using
      > composer single:update
    or
      > cd vendor/aseqbase/single
      vendor/aseqbase/single> composer dev:update
  2. Follow the steps to finish the update of sources, database, etc.
  3. Enjoy...

Uninstalling

  1. Uninstall the project and the constructed database using:
      > composer single:unistall
    or
      > cd vendor/aseqbase/single
      vendor/aseqbase/single> composer dev:unistall
  2. Follow the steps to finish the uninstallation of sources, database, etc.
  3. Enjoy...

Creating

  1. Create a new file by a predefined template name (for example, global, config, back, router, front, user, info, etc.) using:
      > composer single:create [predefined-template-name]
    or
      > cd vendor/aseqbase/single
      vendor/aseqbase/single> composer dev:create [predefined-template-name]
  2. Follow the steps to finish creating the file.
  3. Enjoy...

About

To create a single page website or subdomain, with all accessibility and equipment, for an aseqbase website...

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •