Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation steps #4

Closed
acelaya opened this issue May 2, 2016 · 0 comments
Closed

Installation steps #4

acelaya opened this issue May 2, 2016 · 0 comments
Assignees
Milestone

Comments

@acelaya
Copy link
Member

acelaya commented May 2, 2016

  • Define ENV vars in apache or nginx:
    • SHORTENED_URL_SCHEMA: http|https
    • SHORTENED_URL_HOSTNAME: Short domain
    • SHORTCODE_CHARS: The char set used to generate short codes (defaults to 123456789bcdfghjkmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ, but a new one can be generated with the config:generate-charset command)
    • DB_USER: MySQL database user
    • DB_PASSWORD: MySQL database password
    • REST_USER: Username for REST authentication
    • REST_PASSWORD: Password for REST authentication
    • DB_NAME: MySQL database name (defaults to shlink)
    • DEFAULT_LOCALE: Language in which web requests (browser and REST) will be returned if no Accept-Language header is sent (defaults to en)
    • CLI_LOCALE: Language in which console command messages will be displayed (defaults to en)
  • Create database (vendor/bin/doctrine orm:schema-tool:create)
  • Add write permissions to data directory
  • Create doctrine proxies (vendor/bin/doctrine orm:generate-proxies)
  • Create symlink to bin/cli as shlink in /usr/local/bin (linux only. Optional)

Supported languages: es and en

@acelaya acelaya self-assigned this May 2, 2016
@acelaya acelaya modified the milestone: 1.0.0 Jun 18, 2016
@acelaya acelaya changed the title Allow app to be installed with composer, requesting custom info Installation steps Aug 1, 2016
@acelaya acelaya closed this as completed Aug 1, 2016
@acelaya acelaya added task and removed feature labels Aug 1, 2016
acelaya added a commit that referenced this issue Aug 21, 2016
@ghost ghost mentioned this issue Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant