Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

UbuntuOpenStore/openstore-web-dev

Repository files navigation

OpenStore Web

Meta repo for getting setup with developing the OpenStore.

Reporting Bugs

Please report any bugs/features/requests in our bug tracker.

Translations

If you would like to help out with translations head over to the OpenStore project on the UBports Weblate instance.

Development

  • Initialize submodules:
    • Run: git submodule update --init --recursive
  • Install the docker & docker-compose:
  • Install NPM dependencies:
    • Install api dependencies: cd openstore-api; npm install; cd ..
    • Install web dependencies: cd openstore-web; npm install; cd ..
  • Start the docker containers
    • Run: docker-compose up -d
  • Attach to the docker container:
    • Attach to the api container: ./env/attach_api.sh
    • Attach to the web container: ./env/attach_web.sh
  • Visit the site:
  • Login
    • Login to the OpenStore to setup your user
    • Upgrade your user to an admin (From inside the vagrant VM): docker exec -it openstorewebdev_api_1 node /srv/openstore/openstore-api/bin/setup-admin
  • Stop the docker containers (when you are done):
    • Run: docker-compose stop

Configuration

For more info on configuration read the openstore-api/README.md.

License

Copyright (C) 2018 Brian Douglass

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.