Meta repo for getting setup with developing the OpenStore.
Please report any bugs/features/requests in our bug tracker.
If you would like to help out with translations head over to the OpenStore project on the UBports Weblate instance.
- Initialize submodules:
- Run:
git submodule update --init --recursive
- Run:
- 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 ..
- Install api dependencies:
- Start the docker containers
- Run:
docker-compose up -d
- Run:
- Attach to the docker container:
- Attach to the api container:
./env/attach_api.sh
- Attach to the web container:
./env/attach_web.sh
- Attach to the api container:
- Visit the site:
- In your browser go to: http://localhost:8080
- 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
- Run:
For more info on configuration read the openstore-api/README.md.
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/.