Skip to content

Conversation

@niemisami
Copy link
Member

No description provided.

@@ -0,0 +1,11 @@
[
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pakko antaa migraatiot omana tiedostona, jos ajetaan jo alustettua kantaa vastaan

@@ -0,0 +1,21 @@
module.exports = {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tässä kerrotaan kuinka pm2:n pitää käynnistää palvelin sekä mistä tietokanta löytyy. Nämä arvot on korjattava käsin /home/digit/server_setup_files/pm2.config.js -tiedostosta ennen kun lähdetään ajamaan

@@ -0,0 +1,52 @@
#!/bin/bash
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitin post-receive hook, joka hoitelee master branchin koodit palvelimelle, ajaa tarvittasessa npm installin ja käynnistää pm2:lla koodit uudestaan. Hakee myös mahdolliset migraatiot ja asettaa ne oikeaan paikkaan

@@ -0,0 +1,48 @@
#!/bin/sh
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tämä scribula hoitaa palvelimen sekä projektin alustukset. Luo digit -käyttäjän ja ja no siinä ne lukee

@@ -0,0 +1,13 @@
#!/bin/sh
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

omalla koneella sh start-elmeri-setup niin on palvelin pystyssä. Lisäsin ton IDENTITY_FILEN tohon, koska omalla toi elmerin ip muuttuu ja en jaksa konffia kaikkea .ssh/configgiin

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

Successfully merging this pull request may close these issues.

2 participants