A website to create and store Cards for Gaya.
Youtrack - http://dspace.dainst.org:8080
Execute the following steps on your server. If you are using Homestead have a look at the Homestead section before excecuting those steps.
git clone --recurse-submodules https://github.com/njunghans/Gaya_CardManager gayacd gaya/node_server && npm run init && cd ..npm run init-devornpm run init-prod- Adapt your
.envand yournode_server/config.json php artisan migratephp artisan db:seedif you want to seed your database
Follow https://laravel.com/docs/5.8/homestead
Make sure to forward the nodeJS port to your local machine by adding
ports:
- send: 1111
to: 1111
to your Homestead.yaml.
In your Homstead/homestead.yml, indicate the correct location of your project. E.g.:
folders:
- map: ~/workspace/gaya/
to: /home/vagrant/gaya/
Then access your Machine via vagrant ssh and remember to create your database user.
mysql -u homestead -p (Passwort "secret")
CREATE DATABASE gayadb;
CREATE USER 'gaya'@'localhost' IDENTIFIED BY 'gayapw';
GRANT ALL PRIVILEGES ON gayadb.* TO 'gaya'@'localhost';
If you use a different user/database remember to adapt your .env later in the installation process.
Run the whole installation from your "server", using vagrant ssh"
Make sure to run npm run watch-poll to have your frontend-js files compiled automatically.
Run all commands (such as npm, composer, php artisan) from your Homestead machine.